Run this model with HF Jobs
Run Dimeltech/Tenezis-8B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/Dimeltech/Tenezis-8B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Dimeltech/Tenezis-8B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Dimeltech/Tenezis-8B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Dimeltech/Tenezis-8B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use Dimeltech/Tenezis-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dimeltech/Tenezis-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Dimeltech/Tenezis-8B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Dimeltech/Tenezis-8B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Dimeltech/Tenezis-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Dimeltech/Tenezis-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Dimeltech/Tenezis-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Dimeltech/Tenezis-8B
- SGLang
How to use Dimeltech/Tenezis-8B 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 "Dimeltech/Tenezis-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Dimeltech/Tenezis-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "Dimeltech/Tenezis-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Dimeltech/Tenezis-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use Dimeltech/Tenezis-8B with Docker Model Runner:
docker model run hf.co/Dimeltech/Tenezis-8B
Tenezis-8b: Multilingual Model for Africa
Overview
Tenezis-8b is an AI model developed by Dimeltech, specifically designed to include and value African languages. This model is based on unsloth/llama-3-8b-bnb-4bit and has been fine-tuned for fast and efficient text generation.
Features
- Base Model:
unsloth/llama-3-8b-bnb-4bit - Number of Parameters: 8 billion
- License: Apache 2.0
- Supported Languages: English, Zulu, Wolof, Swahili, Hausa, Amharic, Yoruba, Xhosa, Shona, and Arabic.
- Technologies Used:
- Unsloth for rapid training optimization
- Transformers by Hugging Face for language model management
- TRL (Transformers Reinforcement Learning) for reinforcement fine-tuning
Developed by Dimeltech
Dimeltech is a company dedicated to technological innovation and digital inclusion, with a particular focus on Africa. Our mission is to make artificial intelligence technologies accessible and beneficial to everyone.
License
This model is distributed under the Apache 2.0 license, allowing for flexible and open use while ensuring transparency and collaborative development.
Contribution and Support
We encourage community contributions to enhance and expand the capabilities of Tenezis-8b. For more information on contributing, please refer to our contribution guide.
For any support or questions, please contact our team via our GitHub page or through our community forum.
Model tree for Dimeltech/Tenezis-8B
Base model
meta-llama/Meta-Llama-3-8B