boopathiraj commited on
Commit
ea4b8e0
·
verified ·
1 Parent(s): 8aa4dc9

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +14 -3
  2. config.json +4 -0
  3. pytorch_model.bin +3 -0
README.md CHANGED
@@ -1,3 +1,14 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Custom Paraphrasing Model
2
+
3
+ This model was trained for paraphrasing tasks.
4
+
5
+ ### Usage
6
+ ```python
7
+ import torch
8
+ from your_model_file import MyParaphraseModel
9
+
10
+ model = MyParaphraseModel()
11
+ state_dict = torch.load('pytorch_model.bin', map_location='cpu')
12
+ model.load_state_dict(state_dict)
13
+ model.eval()
14
+ ```
config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "model_type": "custom-paraphrase",
3
+ "description": "Custom paraphrasing model in PyTorch"
4
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24da186903d3186c84da2a9ea52c3c6b268dadd7ba131cd081361d226a6f55ed
3
+ size 1625556067