Instructions to use Cran-May/OpenSLIDE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Cran-May/OpenSLIDE with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Cran-May/OpenSLIDE", filename="SLIDE.0.1.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Cran-May/OpenSLIDE with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Cran-May/OpenSLIDE # Run inference directly in the terminal: llama-cli -hf Cran-May/OpenSLIDE
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Cran-May/OpenSLIDE # Run inference directly in the terminal: llama-cli -hf Cran-May/OpenSLIDE
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 Cran-May/OpenSLIDE # Run inference directly in the terminal: ./llama-cli -hf Cran-May/OpenSLIDE
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 Cran-May/OpenSLIDE # Run inference directly in the terminal: ./build/bin/llama-cli -hf Cran-May/OpenSLIDE
Use Docker
docker model run hf.co/Cran-May/OpenSLIDE
- LM Studio
- Jan
- Ollama
How to use Cran-May/OpenSLIDE with Ollama:
ollama run hf.co/Cran-May/OpenSLIDE
- Unsloth Studio new
How to use Cran-May/OpenSLIDE 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 Cran-May/OpenSLIDE 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 Cran-May/OpenSLIDE to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Cran-May/OpenSLIDE to start chatting
- Docker Model Runner
How to use Cran-May/OpenSLIDE with Docker Model Runner:
docker model run hf.co/Cran-May/OpenSLIDE
- Lemonade
How to use Cran-May/OpenSLIDE with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Cran-May/OpenSLIDE
Run and chat with the model
lemonade run user.OpenSLIDE-{{QUANT_TAG}}List all available models
lemonade list
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- zh
|
| 5 |
+
- en
|
| 6 |
+
pipeline_tag: question-answering
|
| 7 |
+
---
|
| 8 |
+
这里是上海师范大学附属外国语中学 NLPark 开发的SLIDE(Shi-Ci Language Identify & Decode Expositor)兮辞·析辞大模型
|
| 9 |
+
目前提供模型尺寸:7B 70亿参数(基座为Mistral-0.1)
|
| 10 |
+
持续开发中……
|
| 11 |
+
参考部署:(使用Llama.CPP,Gradio)
|
| 12 |
+
https://huggingface.co/spaces/Cran-May/Shi-Ci
|