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

  • Log In
  • Sign Up

Polygl0t
/
LilTii-v0.1

Text Generation
Transformers
Safetensors
Bengali
llama
text-generation-inference
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use Polygl0t/LilTii-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Polygl0t/LilTii-v0.1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="Polygl0t/LilTii-v0.1")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("Polygl0t/LilTii-v0.1")
    model = AutoModelForCausalLM.from_pretrained("Polygl0t/LilTii-v0.1")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use Polygl0t/LilTii-v0.1 with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "Polygl0t/LilTii-v0.1"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "Polygl0t/LilTii-v0.1",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/Polygl0t/LilTii-v0.1
  • SGLang

    How to use Polygl0t/LilTii-v0.1 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 "Polygl0t/LilTii-v0.1" \
        --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": "Polygl0t/LilTii-v0.1",
    		"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 "Polygl0t/LilTii-v0.1" \
            --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": "Polygl0t/LilTii-v0.1",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use Polygl0t/LilTii-v0.1 with Docker Model Runner:

    docker model run hf.co/Polygl0t/LilTii-v0.1
LilTii-v0.1
1.35 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 51 commits
nicholasKluge's picture
nicholasKluge
Update README.md
846c659 verified 3 months ago
  • plots
    Upload performance_vs_compute.png 3 months ago
  • .gitattributes
    2.64 kB
    Upload folder using huggingface_hub 3 months ago
  • LICENSE
    10.8 kB
    Update LICENSE 8 months ago
  • README.md
    30.3 kB
    Update README.md 3 months ago
  • config.json
    756 Bytes
    Upload folder using huggingface_hub 8 months ago
  • emissions.csv
    18.9 kB
    Upload emissions.csv with huggingface_hub 8 months ago
  • evals.yaml
    327 Bytes
    Upload folder using huggingface_hub 8 months ago
  • evals_all_steps.csv
    3.63 kB
    Upload evals_all_steps.csv with huggingface_hub 8 months ago
  • evals_for_reference.csv
    4.64 kB
    Update evals_for_reference.csv 7 months ago
  • generation_config.json
    286 Bytes
    Upload folder using huggingface_hub 8 months ago
  • logo.png
    291 kB
    xet
    Upload logo.png 8 months ago
  • model.safetensors
    1.34 GB
    xet
    Upload folder using huggingface_hub 8 months ago
  • special_tokens_map.json
    571 Bytes
    Upload special_tokens_map.json with huggingface_hub 3 months ago
  • tokenizer.json
    6.1 MB
    Upload tokenizer.json with huggingface_hub 3 months ago
  • tokenizer_config.json
    9.68 kB
    Upload tokenizer_config.json with huggingface_hub 8 months ago
  • train_logs.parquet
    1.16 MB
    xet
    Upload train_logs.parquet with huggingface_hub 8 months ago
  • training_config.yaml
    2.42 kB
    Rename config.yaml to training_config.yaml 7 months ago
  • val_logs.parquet
    2.39 kB
    xet
    Upload val_logs.parquet with huggingface_hub 8 months ago