allsmart commited on
Commit
d4d41fd
·
verified ·
1 Parent(s): 7db0005

Eine Version: ALLSmartIntent

Browse files
Files changed (1) hide show
  1. beispiel.py +2 -2
beispiel.py CHANGED
@@ -1,4 +1,4 @@
1
- """ALLSmartIntent Flash: what a chat message wants and what a good reply needs, in one pass.
2
 
3
  pip install torch transformers safetensors huggingface_hub
4
  python beispiel.py "und morgen?"
@@ -14,7 +14,7 @@ from safetensors.torch import load_file
14
  from torch import nn
15
  from transformers import AutoModel, AutoTokenizer
16
 
17
- MODELL = "allsmart/Intent-Flash"
18
  MAX_VERLAUF_ZEICHEN = 600 # per earlier message; longer ones keep start and end (the question is usually at the end)
19
  GERAET = "cuda" if torch.cuda.is_available() else "cpu"
20
 
 
1
+ """ALLSmartIntent: what a chat message wants and what a good reply needs, in one pass.
2
 
3
  pip install torch transformers safetensors huggingface_hub
4
  python beispiel.py "und morgen?"
 
14
  from torch import nn
15
  from transformers import AutoModel, AutoTokenizer
16
 
17
+ MODELL = "allsmart/Intent"
18
  MAX_VERLAUF_ZEICHEN = 600 # per earlier message; longer ones keep start and end (the question is usually at the end)
19
  GERAET = "cuda" if torch.cuda.is_available() else "cpu"
20