Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ git clone https://github.com/zai-org/glm-ocr.git
cd glm-ocr
uv venv --python 3.12 --seed && source .venv/bin/activate
uv pip install -e .

# Install transformers from source
uv pip install git+https://github.com/huggingface/transformers.git
```

### Model Deployment
Expand Down
3 changes: 0 additions & 3 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ git clone https://github.com/zai-org/glm-ocr.git
cd glm-ocr
uv venv --python 3.12 --seed && source .venv/bin/activate
uv pip install -e .

# 从源码安装 transformers
uv pip install git+https://github.com/huggingface/transformers.git
```

### 模型服务部署
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies = [
# Layout detection
"torch>=2.0.0",
"torchvision>=0.15.0",
"transformers>=4.30.0",
"transformers>=5.1.0",
"sentencepiece>=0.1.99",
"accelerate>=0.20.0",
"opencv-python>=4.8.0",
Expand All @@ -53,7 +53,7 @@ dependencies = [
layout = [
"torch>=2.0.0",
"torchvision>=0.15.0",
"transformers>=4.30.0",
"transformers>=5.1.0",
"sentencepiece>=0.1.99",
"accelerate>=0.20.0",
"opencv-python>=4.8.0",
Expand Down