Instructions to use GoofyLM/N1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GoofyLM/N1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="GoofyLM/N1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("GoofyLM/N1") model = AutoModelForCausalLM.from_pretrained("GoofyLM/N1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use GoofyLM/N1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "GoofyLM/N1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GoofyLM/N1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/GoofyLM/N1
- SGLang
How to use GoofyLM/N1 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 "GoofyLM/N1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GoofyLM/N1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "GoofyLM/N1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GoofyLM/N1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use GoofyLM/N1 with Docker Model Runner:
docker model run hf.co/GoofyLM/N1
Commit History
-
Update README.md
Verified signature550cc0e
-
Update README.md
Verified signature04b8b68 -
Update README.md
Verified signatured3c6710
-
Update README.md
Verified signatureb426132
-
Delete N1_Q8_0.gguf
Verified signature908cc4c
-
Rename quant/N1_Q8_0.gguf to N1_Q8_0.gguf
Verified signature7cd5650 -
Rename N1_Q8_0.gguf to quant/N1_Q8_0.gguf
Verified signature1000d3a
-
Update README.md
Verified signature22b9a0d -
Update README.md
aquiffooVerified signature6def784 -
Update README.md
Verified signaturecaac39b -
Rename GoofyLM-N1.gguf to N1_Q8_0.gguf
Verified signaturee488a7d -
Update README.md
Verified signature5c1cb7f -
Upload GoofyLM-N1.gguf
Verified signatured2e9112 -
Update README.md
Verified signaturea91b842 -
Update README.md
Verified signature672c426 -
Upload 8 files
Verified signature9a27a76
-
Update README.md
Verified signature81dcf54
-
Update README.md
Verified signature5ca3198 -
Rename Proiect nou (14).png to banner.png
Verified signature66ff313 -
Update README.md
Verified signatureabdf333 -
Upload Proiect nou (14).png
Verified signaturea616c3e -
initial commit
Verified signature92c09ab