King-Harry
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -63,9 +63,7 @@ The model is designed for responsible data management, ensuring that sensitive i
|
|
63 |
To use this model, you can load it from the Hugging Face Hub and integrate it into your Python or API-based applications. Below is an example of how to load and use the model:
|
64 |
|
65 |
```python
|
66 |
-
Here's the code with comments explaining each line:
|
67 |
|
68 |
-
```python
|
69 |
# Install necessary packages from the unsloth GitHub repository and others required for model handling and optimizations.
|
70 |
!pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"
|
71 |
!pip install --no-deps "xformers<0.0.27" "trl<0.9.0" peft accelerate bitsandbytes
|
@@ -120,7 +118,6 @@ redacted_text = tokenizer.batch_decode(outputs, skip_special_tokens=True)
|
|
120 |
print(redacted_text[0])
|
121 |
```
|
122 |
|
123 |
-
```
|
124 |
|
125 |
### Citation
|
126 |
|
|
|
63 |
To use this model, you can load it from the Hugging Face Hub and integrate it into your Python or API-based applications. Below is an example of how to load and use the model:
|
64 |
|
65 |
```python
|
|
|
66 |
|
|
|
67 |
# Install necessary packages from the unsloth GitHub repository and others required for model handling and optimizations.
|
68 |
!pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"
|
69 |
!pip install --no-deps "xformers<0.0.27" "trl<0.9.0" peft accelerate bitsandbytes
|
|
|
118 |
print(redacted_text[0])
|
119 |
```
|
120 |
|
|
|
121 |
|
122 |
### Citation
|
123 |
|