Instructions to use Technoculture/MT7Bi-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Technoculture/MT7Bi-sft with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Technoculture/MT7Bi-sft")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Technoculture/MT7Bi-sft") model = AutoModelForCausalLM.from_pretrained("Technoculture/MT7Bi-sft", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Technoculture/MT7Bi-sft with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Technoculture/MT7Bi-sft" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Technoculture/MT7Bi-sft", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Technoculture/MT7Bi-sft
- SGLang
How to use Technoculture/MT7Bi-sft 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 "Technoculture/MT7Bi-sft" \ --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": "Technoculture/MT7Bi-sft", "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 "Technoculture/MT7Bi-sft" \ --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": "Technoculture/MT7Bi-sft", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Technoculture/MT7Bi-sft with Docker Model Runner:
docker model run hf.co/Technoculture/MT7Bi-sft
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,6 +14,10 @@ tags:
|
|
| 14 |
|
| 15 |
# Evaluations
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
### Model Evaluation Benchmark
|
| 19 |
|
|
@@ -23,13 +27,6 @@ tags:
|
|
| 23 |
| LLAMA-2-7b | 43.2 | **77.1** | 44.4 | 38.7 | 69.5 | 16 |
|
| 24 |
| MT7Bi (1 epoch) | 50.94 | 73.24 | - | 43.04 | 72.06 | 22.52 |
|
| 25 |
|
| 26 |
-
|
| 27 |
-
## Open LLM Leaderboard
|
| 28 |
-
|
| 29 |
-
| Model | ARC |HellaSwag| MMLU |TruthfulQA|Winogrande|GSM8K|
|
| 30 |
-
|---------------------------------------------------|----:|--------:|--------------------------|---------:|---------:|----:|
|
| 31 |
-
|[MT7Bi](https://huggingface.co/Technoculture/MT7Bi)|50.94| 73.24|Error: File does not exist| 43.04| 72.06|22.52|
|
| 32 |
-
|
| 33 |
### ARC: 50.94%
|
| 34 |
| Task |Version| Metric | Value | |Stderr|
|
| 35 |
|-------------|-------|--------------------|-------------|---|------|
|
|
|
|
| 14 |
|
| 15 |
# Evaluations
|
| 16 |
|
| 17 |
+
## Open LLM Leaderboard
|
| 18 |
+
| Model | ARC |HellaSwag| MMLU |TruthfulQA|Winogrande|GSM8K|
|
| 19 |
+
|---------------------------------------------------|----:|--------:|--------------------------|---------:|---------:|----:|
|
| 20 |
+
|[MT7Bi](https://huggingface.co/Technoculture/MT7Bi)|50.94| 73.24|Error: File does not exist| 43.04| 72.06|22.52|
|
| 21 |
|
| 22 |
### Model Evaluation Benchmark
|
| 23 |
|
|
|
|
| 27 |
| LLAMA-2-7b | 43.2 | **77.1** | 44.4 | 38.7 | 69.5 | 16 |
|
| 28 |
| MT7Bi (1 epoch) | 50.94 | 73.24 | - | 43.04 | 72.06 | 22.52 |
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
### ARC: 50.94%
|
| 31 |
| Task |Version| Metric | Value | |Stderr|
|
| 32 |
|-------------|-------|--------------------|-------------|---|------|
|