Run this model with HF Jobs

Run linagora/Labess-7b-chat-16bit 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/linagora/Labess-7b-chat-16bit. 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/linagora/Labess-7b-chat-16bit 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/linagora/Labess-7b-chat-16bit. 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/linagora/Labess-7b-chat-16bit. 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.

Model Overview

Labess-7b-chat is an open model instruction-tuned for Tunisian Derja, it's a continual pre-training version of jais-adapted-7b-chat with tunisian_Derja_Dataset

Uploaded model

  • Developed by: Linagora
  • License: apache-2.0
  • Finetuned from model : inceptionai/jais-adapted-7b-chat

Usage

Below we share some code snippets on how to get quickly started with running the model. First, install the Transformers library with:

pip install transformers

Usage

import torch
from transformers import pipeline

pipe = pipeline(
    "text-generation",
    model="linagora/Labess-7b-chat-16bit",
    model_kwargs={"torch_dtype": torch.bfloat16},    
    device="cuda" # replace with "mps" to run on a Mac device
)

messages = [
    {"role": "user", "content": 'ΩˆΩŠΩ† Ψͺجي ΨͺΩˆΩ†Ψ³ΨŸ'},
]

outputs = pipe(messages, max_new_tokens=64, do_sample=True, temperature=0.2)
assistant_response = outputs[0]["generated_text"][-1]["content"].strip()
print(assistant_response)
- Response:ΨͺΩˆΩ†Ψ³ Ω‡ΩŠ Ψ¨Ω„Ψ§Ψ― في Ψ΄Ω…Ψ§Ω„ Ψ₯ΩΨ±ΩŠΩ‚ΩŠΨ§ Ω‡ΩŠ Ψ¨Ω„Ψ§Ψ― Ψ¬Ω…ΩŠΩ„Ψ© Ψ¨Ψ±Ψ΄Ψ© ΩˆΩ…ΨΉΨ±ΩˆΩΨ© في Ψ§Ω„ΨΉΨ§Ω„Ω… Ψ§Ω„ΩƒΩ„ Ω‡ΩŠ Ψ¨Ω„Ψ§Ψ― ΩΩŠΩ‡Ψ§ Ω…Ω†Ψ§ΨΈΨ± طبيعية

Citations

When using this model Labess-7b-chat, please cite:

@model{linagora2025LLM-tn,
  author = {Wajdi Ghezaiel and Jean-Pierre LorrΓ©},
  title = {Labess-7b-chat:Tunisian Derja LLM},
  year = {2025},
  month = {January},  
  url = {https://huggingface.co/datasets/linagora/Labess-7b-chat-16bit}
}

Acknowledgements

Training of Labess-7b-chat was made possible by computing AI and storage resources by GENCI at IDRIS thanks to the grant 2024-AD011014561 on the supercomputer Jean Zay’s A100 partition.

Downloads last month
126
Safetensors
Model size
7B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for linagora/Labess-7b-chat-16bit

Finetuned
(6)
this model
Finetunes
3 models
Quantizations
1 model

Dataset used to train linagora/Labess-7b-chat-16bit

Space using linagora/Labess-7b-chat-16bit 1

Collection including linagora/Labess-7b-chat-16bit