Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Bennerdo
/
rieko

Text Generation
PEFT
Safetensors
Transformers
Luo (Kenya and Tanzania)
English
Swahili
lora
qlora
sft
trl
dholuo
low-resource
flores-200
belebele
kenya
conversational
Model card Files Files and versions
xet
Community

Instructions to use Bennerdo/rieko with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use Bennerdo/rieko with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("google/gemma-3-1b-pt")
    model = PeftModel.from_pretrained(base_model, "Bennerdo/rieko")
  • Transformers

    How to use Bennerdo/rieko with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="Bennerdo/rieko")
    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("Bennerdo/rieko", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use Bennerdo/rieko with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "Bennerdo/rieko"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "Bennerdo/rieko",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/Bennerdo/rieko
  • SGLang

    How to use Bennerdo/rieko 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 "Bennerdo/rieko" \
        --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": "Bennerdo/rieko",
    		"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 "Bennerdo/rieko" \
            --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": "Bennerdo/rieko",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use Bennerdo/rieko with Docker Model Runner:

    docker model run hf.co/Bennerdo/rieko

You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • cpt_adapter
    Upload folder using huggingface_hub about 1 month ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub about 1 month ago
  • README.md
    11.4 kB
    update readme about 1 month ago
  • adapter_config.json
    1.18 kB
    Upload folder using huggingface_hub about 1 month ago
  • adapter_model.safetensors
    209 MB
    xet
    Upload folder using huggingface_hub about 1 month ago
  • chat_template.jinja
    223 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • tokenizer.json
    33.4 MB
    xet
    Upload folder using huggingface_hub about 1 month ago
  • tokenizer_config.json
    705 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • training_args.bin
    5.71 kB
    xet
    Upload folder using huggingface_hub about 1 month ago