Instructions to use tianclll/AceTranslatePro-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tianclll/AceTranslatePro-models with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tianclll/AceTranslatePro-models", filename="models/VLM/PaddleOCR-VL-1.6-GGUF-mmproj.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tianclll/AceTranslatePro-models with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tianclll/AceTranslatePro-models:Q4_K_M # Run inference directly in the terminal: llama cli -hf tianclll/AceTranslatePro-models:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tianclll/AceTranslatePro-models:Q4_K_M # Run inference directly in the terminal: llama cli -hf tianclll/AceTranslatePro-models:Q4_K_M
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 tianclll/AceTranslatePro-models:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf tianclll/AceTranslatePro-models:Q4_K_M
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 tianclll/AceTranslatePro-models:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf tianclll/AceTranslatePro-models:Q4_K_M
Use Docker
docker model run hf.co/tianclll/AceTranslatePro-models:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use tianclll/AceTranslatePro-models with Ollama:
ollama run hf.co/tianclll/AceTranslatePro-models:Q4_K_M
- Unsloth Studio
How to use tianclll/AceTranslatePro-models 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 tianclll/AceTranslatePro-models 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 tianclll/AceTranslatePro-models to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tianclll/AceTranslatePro-models to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tianclll/AceTranslatePro-models with Docker Model Runner:
docker model run hf.co/tianclll/AceTranslatePro-models:Q4_K_M
- Lemonade
How to use tianclll/AceTranslatePro-models with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tianclll/AceTranslatePro-models:Q4_K_M
Run and chat with the model
lemonade run user.AceTranslatePro-models-Q4_K_M
List all available models
lemonade list
AceTranslatePro Models
AceTranslatePro 的模型文件包。包含翻译、OCR、版面分析、语音识别、图片矫正等所有模型。
目录结构
models/
├── translation/ # 翻译模型(GGUF)
│ ├── Hy-MT2-1.8B-Q4_K_M.gguf # 翻译模型(默认,推荐)
│ ├── Hy-MT2-1.8B-Q6_K.gguf # 翻译模型(更高精度)
│ ├── HY-MT1.5-1.8B-Q4_K_M.gguf
│ └── HY-MT1.5-1.8B-Q6_K.gguf
├── VLM/ # 多模态公式识别(GGUF)
│ ├── PaddleOCR-VL-1.6-GGUF.gguf
│ └── PaddleOCR-VL-1.6-GGUF-mmproj.gguf
├── layout/
│ └── pp_doclayoutv2.onnx # 版面分析模型
├── ocr/ # OCR 模型(ONNX)
│ ├── tiny/ # 轻量版(默认)
│ │ ├── det/det.onnx
│ │ ├── rec/rec.onnx
│ │ └── cls/cls.onnx
│ ├── small/ # 中等版
│ ├── medium/ # 高精度版
│ └── ppocrv6_dict.txt
├── ASR/
│ ├── model_quant.onnx # 语音识别(SenseVoiceSmall)
│ ├── am.mvn # CMVN 归一化
│ └── tokens.json
├── uvdoc/
│ └── UVDoc_grid.onnx # 图片矫正
└── orientation/
└── rapid_orientation.onnx # 方向检测
使用方法
将 models/ 目录放到 AceTranslatePro.exe 同级目录即可。
- Downloads last month
- 9
Hardware compatibility
Log In to add your hardware
4-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support