Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import streamlit as st
|
|
2 |
import altair as alt
|
3 |
import torch
|
4 |
from transformers import AlbertTokenizer, AlbertForSequenceClassification
|
|
|
5 |
|
6 |
# Load pre-trained model and tokenizer
|
7 |
model_name = "albert-base-v2"
|
|
|
2 |
import altair as alt
|
3 |
import torch
|
4 |
from transformers import AlbertTokenizer, AlbertForSequenceClassification
|
5 |
+
import sentencepiece as spm
|
6 |
|
7 |
# Load pre-trained model and tokenizer
|
8 |
model_name = "albert-base-v2"
|