Skip to content

Commit a070ec1

Browse files
Merge pull request #274 from xiaoranzhou/patch-2
adding import
2 parents 2db1476 + 790f8ab commit a070ec1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/docs/overview/supported_models.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ description: Models Supported by xTuring
3131
### INT4 Precision model versions
3232
> In order to load any model's __`INT4+LoRA`__ version, you will need to make use of `GenericLoraKbitModel` class from `xturing.models`. Below is how to use it:
3333
```python
34+
from xturing.models import GenericLoraKbitModel
3435
model = GenericLoraKbitModel('/path/to/model')
3536
```
3637
The `/path/to/model` can be replaced with you local directory or any HuggingFace library model like `facebook/opt-1.3b`.

0 commit comments

Comments
 (0)