Feature Extraction
Transformers
Safetensors
GGUF
Chinese
qwen
beisen
train
custom_code
conversational
Instructions to use maxosai/BeisenAI-7B-Chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maxosai/BeisenAI-7B-Chat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="maxosai/BeisenAI-7B-Chat", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("maxosai/BeisenAI-7B-Chat", trust_remote_code=True, dtype="auto") - llama-cpp-python
How to use maxosai/BeisenAI-7B-Chat with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="maxosai/BeisenAI-7B-Chat", filename="BeisenAI-7B-Chat.gguf", )
llm.create_chat_completion( messages = "\"Today is a sunny day and I will get some ice cream.\"" )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use maxosai/BeisenAI-7B-Chat with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf maxosai/BeisenAI-7B-Chat # Run inference directly in the terminal: llama-cli -hf maxosai/BeisenAI-7B-Chat
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf maxosai/BeisenAI-7B-Chat # Run inference directly in the terminal: llama-cli -hf maxosai/BeisenAI-7B-Chat
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf maxosai/BeisenAI-7B-Chat # Run inference directly in the terminal: ./llama-cli -hf maxosai/BeisenAI-7B-Chat
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf maxosai/BeisenAI-7B-Chat # Run inference directly in the terminal: ./build/bin/llama-cli -hf maxosai/BeisenAI-7B-Chat
Use Docker
docker model run hf.co/maxosai/BeisenAI-7B-Chat
- LM Studio
- Jan
- Ollama
How to use maxosai/BeisenAI-7B-Chat with Ollama:
ollama run hf.co/maxosai/BeisenAI-7B-Chat
- Unsloth Studio new
How to use maxosai/BeisenAI-7B-Chat with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for maxosai/BeisenAI-7B-Chat to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for maxosai/BeisenAI-7B-Chat to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for maxosai/BeisenAI-7B-Chat to start chatting
- Docker Model Runner
How to use maxosai/BeisenAI-7B-Chat with Docker Model Runner:
docker model run hf.co/maxosai/BeisenAI-7B-Chat
- Lemonade
How to use maxosai/BeisenAI-7B-Chat with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull maxosai/BeisenAI-7B-Chat
Run and chat with the model
lemonade run user.BeisenAI-7B-Chat-{{QUANT_TAG}}List all available models
lemonade list
Ctrl+K
- 1.58 kB
- 15.4 GB xet
- 102 Bytes
- 1.16 kB
- 2.35 kB
- 1.92 kB
- 263 Bytes
- 1.24 GB xet
- 944 MB xet
- 990 MB xet
- 900 MB xet
- 944 MB xet
- 990 MB xet
- 900 MB xet
- 944 MB xet
- 990 MB xet
- 900 MB xet
- 944 MB xet
- 990 MB xet
- 900 MB xet
- 944 MB xet
- 675 MB xet
- 1.24 GB xet
- 19.8 kB
- 54.6 kB
- 2.71 MB
- 14.6 kB
- 185 Bytes
- 9.62 kB
- 945 Bytes