Text Generation
Transformers
Safetensors
English
Italian
llama
text-generation-inference
unsloth
educational
Instructions to use matteoangeloni/EduDolphin with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use matteoangeloni/EduDolphin with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="matteoangeloni/EduDolphin")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("matteoangeloni/EduDolphin") model = AutoModelForCausalLM.from_pretrained("matteoangeloni/EduDolphin", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use matteoangeloni/EduDolphin with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "matteoangeloni/EduDolphin" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "matteoangeloni/EduDolphin", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/matteoangeloni/EduDolphin
- SGLang
How to use matteoangeloni/EduDolphin 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 "matteoangeloni/EduDolphin" \ --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": "matteoangeloni/EduDolphin", "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 "matteoangeloni/EduDolphin" \ --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": "matteoangeloni/EduDolphin", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use matteoangeloni/EduDolphin with Docker Model Runner:
docker model run hf.co/matteoangeloni/EduDolphin
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,9 +5,11 @@ tags:
|
|
| 5 |
- transformers
|
| 6 |
- unsloth
|
| 7 |
- llama
|
|
|
|
| 8 |
license: apache-2.0
|
| 9 |
language:
|
| 10 |
- en
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# EduDolphin 🐬📚
|
|
@@ -215,4 +217,4 @@ Thanks to **Unsloth** for efficient fine‑tuning tooling, **Hugging Face TRL**
|
|
| 215 |
pip install --upgrade transformers accelerate
|
| 216 |
# Optional (for 4-bit merges)
|
| 217 |
pip install bitsandbytes
|
| 218 |
-
```
|
|
|
|
| 5 |
- transformers
|
| 6 |
- unsloth
|
| 7 |
- llama
|
| 8 |
+
- educational
|
| 9 |
license: apache-2.0
|
| 10 |
language:
|
| 11 |
- en
|
| 12 |
+
- it
|
| 13 |
---
|
| 14 |
|
| 15 |
# EduDolphin 🐬📚
|
|
|
|
| 217 |
pip install --upgrade transformers accelerate
|
| 218 |
# Optional (for 4-bit merges)
|
| 219 |
pip install bitsandbytes
|
| 220 |
+
```
|