Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 6f0e5dd

Browse files
committed
Merge branch 'main' of github.com:salesforce/CodeTF
2 parents e43b3ce + 2c2fbac commit 6f0e5dd

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ conda activate codetf
8787

8888
2. Install from [PyPI](https://pypi.org/project/salesforce-codetf/):
8989
```bash
90-
pip install salesforce-codetf
90+
pip install salesforce-codetf==1.0.0
9191
```
9292

9393
3. Alternatively, build CodeTF from source:
@@ -98,6 +98,18 @@ cd CodeTF
9898
pip install -e .
9999
```
100100

101+
Additionally, to make sure the quantization feature works well, also install these dependencies:
102+
```bash
103+
pip install -q -U git+https://github.com/huggingface/transformers.git
104+
pip install -q -U git+https://github.com/huggingface/peft.git
105+
pip install -q -U git+https://github.com/huggingface/accelerate.git
106+
```
107+
108+
For some models, such as [StarCoder](https://github.com/bigcode-project/starcoder), it is required to log in Huggingface. Please obtain the HuggingFace token and login:
109+
```
110+
huggingface-cli login
111+
```
112+
101113
## Getting Started
102114
### Inferencing Pipeline
103115

0 commit comments

Comments
 (0)