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")# pip install -U transformers accelerate # 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") - 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
Commit History
-
Upload folder using huggingface_hub
Verified signaturee28ccaa
-
Update README.md
Verified signaturec1c15fc -
Delete LICENSE
Verified signaturea75d87e -
Create LICENSE
Verified signatured48bafa
-
Upload special_tokens_map.json with huggingface_hub
Verified signature7b2d377 -
Upload tokenizer.model with huggingface_hub
Verified signatureb5509a9 -
Delete tokenizer.model
Verified signature7fd9e66 -
Delete special_tokens_map.json
Verified signature701d415 -
Upload tokenizer.model with huggingface_hub
Verified signature1863553 -
Upload folder using huggingface_hub
Verified signaturee100876
-
Update README.md
Verified signature888025d -
Update README.md
Verified signatureae8fdcc
-
Upload folder using huggingface_hub
Verified signature81be9eb
-
Update README.md
Verified signatureb3b11de
-
Update README.md
Verified signaturec9af653 -
Update README.md
Verified signature33efe92 -
Update README.md
Verified signaturee386947 -
Update README.md
Verified signature3b0be67 -
Update README.md
Verified signaturedc7fc63 -
Update README.md
Verified signature46fe446 -
Update README.md
Verified signaturec11d8d1 -
Update README.md
Verified signature892f072 -
Update README.md
Verified signature9eee4fe -
Update README.md
Verified signature4a39413 -
Update README.md
Verified signaturef7b7e4b -
Update README.md
Verified signaturec4c87ff -
Create README.md
Verified signature0dcab31 -
Upload folder using huggingface_hub
Verified signature4d1fe55 -
initial commit
Verified signatured92bec1