Instructions to use Altworld/Hemmingway-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Altworld/Hemmingway-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Altworld/Hemmingway-1") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Altworld/Hemmingway-1") model = AutoModelForCausalLM.from_pretrained("Altworld/Hemmingway-1", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Altworld/Hemmingway-1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Altworld/Hemmingway-1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Altworld/Hemmingway-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Altworld/Hemmingway-1
- SGLang
How to use Altworld/Hemmingway-1 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Altworld/Hemmingway-1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Altworld/Hemmingway-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Altworld/Hemmingway-1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Altworld/Hemmingway-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Altworld/Hemmingway-1 with Docker Model Runner:
docker model run hf.co/Altworld/Hemmingway-1
dawg
just use a system prompt bro, this isn’t 2023 or some shi. you don’t need to train a whole model for this. you can either add it to the system prompt (which any SOTA model will do way better), or just train a LoRA or something. y’all are wasting compute. if you wanna be a hero, go train a 40B-A5B model or something and you’ll be praised all day long.
also LMAO not even close
"Linux isn't harder to use than Windows; the perceived complexity often comes from not knowing the right tools or workflows. For most users, a well-configured Linux desktop is just as straightforward as Windows."
yeah i didnt ask that bro you were supposed to write a comment about WHAT i said... lmao just.. funny
Shut this model down because [random nobody] thinks its useless.
If people wanna waste compute on X let them do so lil blud, its not that deep.
i never said it was deep. who are you, "lil blud"? you're just some random 23 year old who thinks he fought in a war. even worse, you probably stubbed your toe and went back to being a "World-Builder ✺." that **** literally screams delusional. so like, you're the LAST person to be talking.
You sound autistically butthurt for a random nobody. My comment: "Let people do whatever they want."
You:
Checks my profile
Checks my other accounts
Checks my bios
Talks shit about my personal history for some reason
Again, its not that deep. But to you it clearly is so, sorry about that lil homie.
You are autistic. (and probably even worse but if i type that here i'll get banned)
You:
Creates this profile
Creates other profiles
Writes a bio
gets shocked when people look at it
again, youre just a child. you started this by being disrespectful. just go back to your homework.
Obs: Its also rich to call me disrespectful when you made a self-glorified jackoff post talking shit to these people just because they made a model in a particular way you (a nobody) don't like.
two goobers fighting
two goobers fighting
A third one appeared. Join us, lil goober.
nah i dont wanna open a fifth account
So you're ban evading.
so you have a link to your bio
Yes. Though you still went out of your way to click it, look at my other accounts, and cry about my bio in completely separate websites (thus my point stands, you were emotionally raped by my simple statement, autistic child).
"went out of your way to click it"
you are not worth my time
"went out of your way to click it"
you are not worth my time
I'm not worth your time and yet you clicked my profile and links to cry about my personal life.. LOL.

