added transformer installation instructions.
Browse files
README.md
CHANGED
@@ -39,15 +39,21 @@ This model is designed to handle general instruction-following tasks and can be
|
|
39 |
* Long-context tasks including long document/meeting summarization, long document QA, etc.
|
40 |
|
41 |
**Installation:**
|
42 |
-
You need to install transformer from source to use this checkpoint.
|
43 |
<!-- This is a simple example of how to use Granite-4.0-Tiny-Base-Preview model. -->
|
44 |
|
45 |
<!-- Usage: Install transformer from source or use transformer version v4.45 to use this checkpoint. -->
|
46 |
|
47 |
-
HuggingFace PR: https://github.com/huggingface/transformers/pull/37658
|
48 |
-
|
49 |
-
Install transformer from source: https://huggingface.co/docs/transformers/en/installation#install-from-source
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
<!-- Install the following libraries:
|
52 |
|
53 |
```shell
|
|
|
39 |
* Long-context tasks including long document/meeting summarization, long document QA, etc.
|
40 |
|
41 |
**Installation:**
|
42 |
+
<!-- You need to install transformer from source to use this checkpoint. -->
|
43 |
<!-- This is a simple example of how to use Granite-4.0-Tiny-Base-Preview model. -->
|
44 |
|
45 |
<!-- Usage: Install transformer from source or use transformer version v4.45 to use this checkpoint. -->
|
46 |
|
47 |
+
<!-- HuggingFace PR: https://github.com/huggingface/transformers/pull/37658 -->
|
|
|
|
|
48 |
|
49 |
+
<!-- Install transformer from source: https://huggingface.co/docs/transformers/en/installation#install-from-source -->
|
50 |
+
You need to install transformers from the following source to use this model:
|
51 |
+
```shell
|
52 |
+
git clone https://github.com/Ssukriti/transformers.git
|
53 |
+
cd transformers
|
54 |
+
git checkout granitemoe_hybrid_external_cleanup
|
55 |
+
pip install -e .
|
56 |
+
```
|
57 |
<!-- Install the following libraries:
|
58 |
|
59 |
```shell
|