Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Gen2B
/
Irbis-7b-v0.1

Text Generation
Transformers
Safetensors
Kazakh
Russian
English
mistral
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use Gen2B/Irbis-7b-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Gen2B/Irbis-7b-v0.1 with Transformers:

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

    How to use Gen2B/Irbis-7b-v0.1 with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "Gen2B/Irbis-7b-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": "Gen2B/Irbis-7b-v0.1",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/Gen2B/Irbis-7b-v0.1
  • SGLang

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

    How to use Gen2B/Irbis-7b-v0.1 with Docker Model Runner:

    docker model run hf.co/Gen2B/Irbis-7b-v0.1
Irbis-7b-v0.1
15 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 8 commits
Gen2B's picture
Gen2B
Update README.md
6815d0b verified about 1 year ago
  • .gitattributes
    1.57 kB
    Upload irbis.jpg about 2 years ago
  • README.md
    2.59 kB
    Update README.md about 1 year ago
  • config.json
    571 Bytes
    init about 2 years ago
  • generation_config.json
    115 Bytes
    init about 2 years ago
  • irbis.jpg
    1.88 MB
    xet
    Upload irbis.jpg about 2 years ago
  • model-00001-of-00004.safetensors
    3.98 GB
    xet
    init about 2 years ago
  • model-00002-of-00004.safetensors
    3.98 GB
    xet
    init about 2 years ago
  • model-00003-of-00004.safetensors
    3.96 GB
    xet
    init about 2 years ago
  • model-00004-of-00004.safetensors
    3.03 GB
    xet
    init about 2 years ago
  • model.safetensors.index.json
    24 kB
    init about 2 years ago
  • special_tokens_map.json
    95 Bytes
    init about 2 years ago
  • tokenizer.json
    4.2 MB
    init about 2 years ago
  • tokenizer.model
    1.16 MB
    xet
    init about 2 years ago
  • tokenizer_config.json
    458 Bytes
    init about 2 years ago