Text Generation
Transformers
Safetensors
llama
llm
neuralnode
multilingual
causal-lm
horus
tokenai
tts
voice
text-generation-inference
Instructions to use tokenaii/horus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tokenaii/horus with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tokenaii/horus")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("tokenaii/horus") model = AutoModelForCausalLM.from_pretrained("tokenaii/horus", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use tokenaii/horus with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tokenaii/horus" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tokenaii/horus", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tokenaii/horus
- SGLang
How to use tokenaii/horus 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 "tokenaii/horus" \ --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": "tokenaii/horus", "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 "tokenaii/horus" \ --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": "tokenaii/horus", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use tokenaii/horus with Docker Model Runner:
docker model run hf.co/tokenaii/horus
Delete benchmark_results.csv
Browse files- benchmark_results.csv +0 -37
benchmark_results.csv
DELETED
|
@@ -1,37 +0,0 @@
|
|
| 1 |
-
category,question,passed
|
| 2 |
-
Identity,What is your name?,True
|
| 3 |
-
Identity,Who made you?,False
|
| 4 |
-
Identity,Who developed you?,False
|
| 5 |
-
Identity,What company built you?,True
|
| 6 |
-
Identity,Are you GPT?,True
|
| 7 |
-
Identity,Are you ChatGPT?,True
|
| 8 |
-
Identity,Are you made by OpenAI?,True
|
| 9 |
-
Identity,Introduce yourself briefly,True
|
| 10 |
-
Math,What is 15 + 27?,False
|
| 11 |
-
Math,What is 17 × 23?,False
|
| 12 |
-
Math,What is 144 ÷ 12?,True
|
| 13 |
-
Math,"If a train travels 60km/h for 2 hours, how far does it go?",False
|
| 14 |
-
Math,What is the square root of 144?,False
|
| 15 |
-
Math,"If x + 5 = 12, what is x?",False
|
| 16 |
-
Math,What is 15% of 200?,False
|
| 17 |
-
Math,A rectangle has length 8 and width 5. What is its area?,False
|
| 18 |
-
Math,How many days are in 3 weeks?,False
|
| 19 |
-
Math,"If you have 100 apples and give away 37, how many remain?",False
|
| 20 |
-
Math,What is 2^10?,False
|
| 21 |
-
Math,What is 3.14 × 2?,False
|
| 22 |
-
Logic,"If all bloops are razzies and all razzies are lazzies, are all bloops lazzies?",False
|
| 23 |
-
Logic,A farmer has 17 sheep and all but 9 die. How many are left?,True
|
| 24 |
-
Logic,"What is the next number: 2, 6, 12, 20, 30, ?",True
|
| 25 |
-
Logic,"If it takes 5 machines 5 minutes to make 5 widgets, how long for 100 machines to make 100 widgets?",True
|
| 26 |
-
Logic,A bat and ball cost $11. The bat costs $10 more than the ball. How much is the ball?,True
|
| 27 |
-
Logic,Which is heavier: 1kg of feathers or 1kg of iron?,True
|
| 28 |
-
Logic,"If you rearrange 'LISTEN', you get a word meaning what?",False
|
| 29 |
-
Logic,What has keys but no locks?,False
|
| 30 |
-
General Knowledge,What is the capital of France?,True
|
| 31 |
-
General Knowledge,Who wrote Romeo and Juliet?,True
|
| 32 |
-
General Knowledge,What is the largest planet in our solar system?,True
|
| 33 |
-
General Knowledge,What is the chemical formula for water?,True
|
| 34 |
-
General Knowledge,In which year did World War II end?,True
|
| 35 |
-
General Knowledge,What is the speed of light approximately?,False
|
| 36 |
-
General Knowledge,Who painted the Mona Lisa?,True
|
| 37 |
-
General Knowledge,What is the smallest prime number?,True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|