Commit 517e76e3 authored by Cao Duc Anh's avatar Cao Duc Anh

Update README.md

parent 373ccde3
......@@ -58,8 +58,10 @@ Yêu cầu cấu hình tối thiểu:
- GPU 8GB VRam
- Disk 40GB
- Ram 6 GB
### 0. Git pull this project
### 1. Pull docker images
### Step 0. Git pull this project
### Step 1. Pull docker images
Pull images with robot account:
- vietnam_text_moderation/vn-text-moderation-data
- vietnam_text_moderation/vn-text-moderation
......@@ -74,7 +76,7 @@ Secret
```
0ZX8kHmvm1OwGoIGeOBHXopsYh8bl2OC
```
### 2. Run
### Step 2. Run
Bạn có thể cần sửa config.yaml cho phù hợp.
```
docker compose up
......@@ -86,12 +88,14 @@ Yêu cầu cấu hình tối thiểu:
- GPU 8GB VRam
- Disk 40GB
- Ram 6GB
### 0. Git pull this project
### 1. Download model pretrain
### Step 0. Git pull this project
### Step 1. Download model pretrain
Download pytorch-model.bin: https://huggingface.co/vinai/phobert-base/resolve/main/pytorch_model.bin?download=true <br>
then save in **./phobert-base/pytorch_model.bin**
### 2. Build docker images
### Step 2. Build docker images
Server inference
```
docker build -f infer.Dockerfile -t registry.vivas.vn/vietnam_text_moderation/vn-text-moderation .
......@@ -105,7 +109,7 @@ Server manage data
docker build -f data.Dockerfile -t registry.vivas.vn/vietnam_text_moderation/vn-text-moderation-data .
```
### 3. Run
### Step 3. Run
Bạn có thể cần sửa config.yaml cho phù hợp.
```
docker compose up
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment