Update README.md
Browse files
README.md
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
## This is the model where we enter input in varying forms of natural language and it generates instructions which can be used in later stages of the BPMN, we fine tuned t5 on our own data.
|
2 |
|
3 |
```
|
4 |
import torch
|
@@ -42,9 +41,11 @@ beam_outputs = model.generate(
|
|
42 |
)
|
43 |
|
44 |
|
45 |
-
print ("\
|
|
|
46 |
print (sentence)
|
47 |
-
print ("\
|
|
|
48 |
final_outputs =[]
|
49 |
for beam_output in beam_outputs:
|
50 |
sent = tokenizer.decode(beam_output, skip_special_tokens=True,clean_up_tokenization_spaces=True)
|
|
|
|
|
1 |
|
2 |
```
|
3 |
import torch
|
|
|
41 |
)
|
42 |
|
43 |
|
44 |
+
print ("\
|
45 |
+
Apprentice Query ::")
|
46 |
print (sentence)
|
47 |
+
print ("\
|
48 |
+
Auto Generated Instruction ::")
|
49 |
final_outputs =[]
|
50 |
for beam_output in beam_outputs:
|
51 |
sent = tokenizer.decode(beam_output, skip_special_tokens=True,clean_up_tokenization_spaces=True)
|