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

IlyaGusev
/
saiga_mistral_7b_merged

Text Generation
Transformers
PyTorch
Russian
mistral
text-generation-inference
Model card Files Files and versions
xet
Community
6

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

  • Libraries
  • Transformers

    How to use IlyaGusev/saiga_mistral_7b_merged with Transformers:

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

    How to use IlyaGusev/saiga_mistral_7b_merged with vLLM:

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

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

    How to use IlyaGusev/saiga_mistral_7b_merged with Docker Model Runner:

    docker model run hf.co/IlyaGusev/saiga_mistral_7b_merged
  • Browse Quantizations to use this model in llama.cpp, Ollama, LM Studio, or any compatible app.

Merged version of https://huggingface.co/IlyaGusev/saiga_mistral_7b_lora.

My GGUF version: https://huggingface.co/IlyaGusev/saiga_mistral_7b_gguf

TheBloke quantizations:

  • https://huggingface.co/TheBloke/saiga_mistral_7b-GGUF
  • https://huggingface.co/TheBloke/saiga_mistral_7b-AWQ
  • https://huggingface.co/TheBloke/saiga_mistral_7b-GPTQ
Downloads last month
1,115
Inference Providers NEW
Text Generation
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for IlyaGusev/saiga_mistral_7b_merged

Adapters
6 models
Merges
1 model
Quantizations
4 models

Datasets used to train IlyaGusev/saiga_mistral_7b_merged

IlyaGusev/ru_turbo_saiga

Updated Sep 4, 2023 • 988 • 28

IlyaGusev/ru_sharegpt_cleaned

Updated Sep 16, 2023 • 525 • 14

lksy/ru_instruct_gpt4

Updated Jun 2, 2023 • 226 • 37

Spaces using IlyaGusev/saiga_mistral_7b_merged 2

📉
miamirov/IlyaGusev-saiga_mistral_7b_merged
🔀
Andrewstivan/aura
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs