Text Generation
Transformers
Safetensors
llama
UNA
simple-math
juanako
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use fblgit/UNA-SimpleSmaug-34b-v1beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fblgit/UNA-SimpleSmaug-34b-v1beta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="fblgit/UNA-SimpleSmaug-34b-v1beta") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("fblgit/UNA-SimpleSmaug-34b-v1beta") model = AutoModelForCausalLM.from_pretrained("fblgit/UNA-SimpleSmaug-34b-v1beta", 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use fblgit/UNA-SimpleSmaug-34b-v1beta with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "fblgit/UNA-SimpleSmaug-34b-v1beta" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fblgit/UNA-SimpleSmaug-34b-v1beta", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/fblgit/UNA-SimpleSmaug-34b-v1beta
- SGLang
How to use fblgit/UNA-SimpleSmaug-34b-v1beta 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 "fblgit/UNA-SimpleSmaug-34b-v1beta" \ --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": "fblgit/UNA-SimpleSmaug-34b-v1beta", "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 "fblgit/UNA-SimpleSmaug-34b-v1beta" \ --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": "fblgit/UNA-SimpleSmaug-34b-v1beta", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use fblgit/UNA-SimpleSmaug-34b-v1beta with Docker Model Runner:
docker model run hf.co/fblgit/UNA-SimpleSmaug-34b-v1beta
Commit History
-
Adding Evaluation Results
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/Weyaxi/open-llm-leaderboard-results-pr The purpose of this PR is to add evaluation results from the Open LLM Leaderboard to your model card. If you encounter any issues, please report them to https://huggingface.co/spaces/Weyaxi/open-llm-leaderboard-results-pr/discussions3458bf6
-
Update README.md
Verified signature4b62fcc -
Update README.md
Verified signatureeb838c2 -
Adding Evaluation Results (#2)
Verified signature- Adding Evaluation Results (2f90d172eea3a2fed818f9ae4edb8db651807cae) Co-authored-by: Open LLM Leaderboard PR Bot <leaderboard-pr-bot@users.noreply.huggingface.co>3e8b23a -
Adding Evaluation Results (#3)
Verified signature- Adding Evaluation Results (63b699f1a801e4831447aaafc02e51d83ba7a23c)9552183
-
Update README.md
Verified signaturea4e85da -
Update README.md
Verified signaturebfbc812 -
Rename image (31).png to unasimple.png
Verified signature00a33a1 -
Upload image (31).png
Verified signature0c1254b -
Update README.md
Verified signature2ff0836
-
Update README.md
Verified signaturee1cdc5b -
Create README.md
Verified signaturec422045 -
Upload folder using huggingface_hub
Verified signature0ea9236 -
initial commit
Verified signatureb4396dc