When I’m traveling and only have one bag? Yep!
When I’m traveling and only have one bag? Yep!
When cutting onions, set the cutting board on the stove and turn on the extractor fan. No more tears!
Plus then it’s easier to tell what’s been worn!
I do this with my phone on my nightstand. If I need to remember something I put it out of reach
Seconding this. Especially if you’re still learning and making mistakes, it’s so nice to just be able to destroy a VM/CT and start over, rather then potentially breaking other things or the OS itself.
So what it comes down to is that int()
, float()
, and input()
(as well as print()
) are functions that you are calling. In the case of int()
and float()
, they return (simply put, when you make a function call it “becomes” the return value) an int
or float
type object based on the argument (the value between the parentheses) that you passed in. In the case of print()
, it causes the program to print out the provided argument.
input()
is a little more complicated. It prints out the provided argument (in your case: Who are you?
) and then puts the program on pause while it waits for the user to input some text and press enter. Once they have done so, the input
function returns the text the user has entered. So as mentioned before, the code input('Who are you? ')
“becomes” the text the user input, which then gets assigned to the variable nam
.
I think where you may be getting confused is what exactly defines “text”. The only things that python considers text (referred to as a string
) are characters surrounded by “” or ‘’. In your example, input('Who are you? ')
is not a string, but code to be executed (although the argument being passed to input
, 'Who are you? '
, is a string). As an experiment, try surrounding that code with quotation marks (name = "input('Who are you? ')"
) and see what happens!
Ah, that’s good to know! I’ll give those other options a shot. Thank you so much for taking the time to help me with that! I’m very new to the whole LLM things, and sorta figuring it out as I go
It has a Intel Xeon E3-1225 V2, 20gb of ram, and a Strix GTX 970 with 4gb of VRAM. I’ve actually tried Mistral 7b and Decapoda Llama 7b, running them in Python with Huggingface’s Transformers library (from local models)
Hm… Alright, I’ll have to take another look at it. I kinda gave up, figuring my old server just didn’t have the specs for it
Show as in I waited a few minutes and finally killed it when it didn’t seem like it was going anywhere. And this was with the 7b model…
I tried doing that on my home server, but running it on the CPU is super slow, and the model won’t fit on the GPU. Not sure what I’m doing wrong
Yeah, that sounds about right! I’m a little over 2k…
Man, I haven’t played that since it was released, but I remember it being absolutely amazing. I should check it out again, but with the RimWorld release today I think I’ll be busy for a while…
Why?
I have a central monitor in landscape orientation which is where my IDE lives. Then a monitor on the left in portrait, which has the bottom quarter or so dedicated to work chat, music controls, and the browser developer window, then the rest of it is a web browser for documentation. On the right is my laptop screen, which is used for more documentation and watching TV shows while I work
Whoa, hey, don’t tell people about that first one! Us husbands won’t be needed anymore!
I use Proxmox, so I just use the PVE web interface
Ah, yeah, I’m running Proxmox. And I’m definitely seeing I have a lot of research to do before I open up to the internet!
I’d love to hear more about your Authelia setup. I’m using Authentik, but planning to do the same thing. I haven’t opened my server up to the Internet yet (just built it on Friday), but what I’d like to do is have a webserver that supplies a login page, and you can’t access anything else until you’ve logged in
This was years ago, but I had a similar issue of not being able to SSH in a hotel. I talked to the front desk and they were able to grant me access to a different network that didn’t have that blocked. I can’t remember whether I had to pay for it or not…