Instructions to use Pragformer/PragFormer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Pragformer/PragFormer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Pragformer/PragFormer", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Pragformer/PragFormer", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
d0554bc
1
Parent(s): aabb225
Upload BERT_Arch
Browse files- config.json +1 -0
- pytorch_model.bin +1 -1
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"BERT_Arch"
|
| 4 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "Pragformer/PragFormer",
|
| 3 |
"architectures": [
|
| 4 |
"BERT_Arch"
|
| 5 |
],
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 500230377
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56106b76320b0dbca5cb0d29fac8a214af8de7f2c0911fc063519a809f5ebc44
|
| 3 |
size 500230377
|