fine tune LLM
Browse files
app.py
CHANGED
@@ -28,8 +28,8 @@ def similar(issue):
|
|
28 |
'''
|
29 |
FINE TUNE LLM LIKE SCORE
|
30 |
'''
|
31 |
-
from fastai.
|
32 |
-
|
33 |
def like(issue):
|
34 |
pred,idx,probs = learn.predict(issue)
|
35 |
return pred
|
|
|
28 |
'''
|
29 |
FINE TUNE LLM LIKE SCORE
|
30 |
'''
|
31 |
+
from fastai.text.all import *
|
32 |
+
learn = load_learner('./banks_txt_like.pkl')
|
33 |
def like(issue):
|
34 |
pred,idx,probs = learn.predict(issue)
|
35 |
return pred
|