Instructions to use matchaaaaa/Fimbul-Airo-18B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use matchaaaaa/Fimbul-Airo-18B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="matchaaaaa/Fimbul-Airo-18B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("matchaaaaa/Fimbul-Airo-18B") model = AutoModelForCausalLM.from_pretrained("matchaaaaa/Fimbul-Airo-18B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use matchaaaaa/Fimbul-Airo-18B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "matchaaaaa/Fimbul-Airo-18B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "matchaaaaa/Fimbul-Airo-18B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/matchaaaaa/Fimbul-Airo-18B
- SGLang
How to use matchaaaaa/Fimbul-Airo-18B 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 "matchaaaaa/Fimbul-Airo-18B" \ --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": "matchaaaaa/Fimbul-Airo-18B", "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 "matchaaaaa/Fimbul-Airo-18B" \ --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": "matchaaaaa/Fimbul-Airo-18B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use matchaaaaa/Fimbul-Airo-18B with Docker Model Runner:
docker model run hf.co/matchaaaaa/Fimbul-Airo-18B
Burn Oil commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -15,7 +15,7 @@ This is a merge of pre-trained language models created using [mergekit](https://
|
|
| 15 |
|
| 16 |
I tested it for thirtneen.second π
|
| 17 |
|
| 18 |
-
Works pretty good
|
| 19 |
|
| 20 |
## Merge Details
|
| 21 |
### Merge Method
|
|
@@ -67,4 +67,6 @@ dtype: bfloat16
|
|
| 67 |
|
| 68 |
π
|
| 69 |
|
|
|
|
|
|
|
| 70 |
Don't forget to take care of yourself and have a wonderful day!
|
|
|
|
| 15 |
|
| 16 |
I tested it for thirtneen.second π
|
| 17 |
|
| 18 |
+
Works pretty good. Also seems to be happy when ROPEing up to 8K. Uncensored, told me how to build a nuke.
|
| 19 |
|
| 20 |
## Merge Details
|
| 21 |
### Merge Method
|
|
|
|
| 67 |
|
| 68 |
π
|
| 69 |
|
| 70 |
+
Less silly models are in the works. I'm still figuring things out right now, so don't judge the bazillions of readme edits and other goofiness.
|
| 71 |
+
|
| 72 |
Don't forget to take care of yourself and have a wonderful day!
|