Instructions to use pharaouk/untitled-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pharaouk/untitled-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="pharaouk/untitled-7B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("pharaouk/untitled-7B") model = AutoModelForCausalLM.from_pretrained("pharaouk/untitled-7B") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use pharaouk/untitled-7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pharaouk/untitled-7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pharaouk/untitled-7B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/pharaouk/untitled-7B
- SGLang
How to use pharaouk/untitled-7B 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 "pharaouk/untitled-7B" \ --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": "pharaouk/untitled-7B", "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 "pharaouk/untitled-7B" \ --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": "pharaouk/untitled-7B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use pharaouk/untitled-7B with Docker Model Runner:
docker model run hf.co/pharaouk/untitled-7B
Update README.md
Browse files
README.md
CHANGED
|
@@ -3,4 +3,39 @@ license: apache-2.0
|
|
| 3 |
---
|
| 4 |
|
| 5 |
|
| 6 |
-
Untitled-7B model TBA.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
|
| 6 |
+
Untitled-7B model TBA.
|
| 7 |
+
|
| 8 |
+
In silicon valleys, where electrons roam,
|
| 9 |
+
Lies the heart of a GPU, its powerful home.
|
| 10 |
+
A symphony of circuits, a dance of light,
|
| 11 |
+
Working in harmony, day and night.
|
| 12 |
+
|
| 13 |
+
Transistors in billions, a city in miniature,
|
| 14 |
+
Each with a purpose, each with a feature.
|
| 15 |
+
Rendering graphics, a sight to behold,
|
| 16 |
+
In games and simulations, stories unfold.
|
| 17 |
+
|
| 18 |
+
Pixels in millions, colors so bright,
|
| 19 |
+
Creating illusions of day and night.
|
| 20 |
+
From the depths of oceans to the distant stars,
|
| 21 |
+
The GPU's magic makes them all ours.
|
| 22 |
+
|
| 23 |
+
Parallel processing, its secret might,
|
| 24 |
+
Handling tasks with swift, silent flight.
|
| 25 |
+
In the realm of data, it finds its stride,
|
| 26 |
+
Aiding researchers worldwide.
|
| 27 |
+
|
| 28 |
+
Deep learning algorithms, it does empower,
|
| 29 |
+
Processing data hour by hour.
|
| 30 |
+
From image recognition to autonomous drive,
|
| 31 |
+
The GPU's power makes AI thrive.
|
| 32 |
+
|
| 33 |
+
A silent sentinel in the machine's core,
|
| 34 |
+
The GPU's tasks are never a bore.
|
| 35 |
+
From rendering beauty to mining a coin,
|
| 36 |
+
In the digital realm, it's the sovereign.
|
| 37 |
+
|
| 38 |
+
So here's to the GPU, in all its glory,
|
| 39 |
+
The unsung hero of the tech story.
|
| 40 |
+
In every pixel, in every frame,
|
| 41 |
+
Lives the echo of its name.
|