Spaces:
Sleeping
Sleeping
Update impo.gitignore
Browse files- impo.gitignore +36 -0
impo.gitignore
CHANGED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import requests
|
2 |
+
import streamlit as st
|
3 |
+
from sklearn.model_selection import StratifiedKFold
|
4 |
+
from sklearn.model_selection import train_test_split
|
5 |
+
from sklearn.model_selection import KFold
|
6 |
+
# tokenizer
|
7 |
+
from transformers import AutoTokenizer, DistilBertTokenizerFast
|
8 |
+
# sequence tagging model + training-related
|
9 |
+
from transformers import DistilBertForTokenClassification, Trainer, TrainingArguments
|
10 |
+
import numpy as np
|
11 |
+
import pandas as pd
|
12 |
+
import torch
|
13 |
+
import json
|
14 |
+
import sys
|
15 |
+
import os
|
16 |
+
#from datasets import load_metric
|
17 |
+
from sklearn.metrics import classification_report
|
18 |
+
from pandas import read_csv
|
19 |
+
from sklearn.linear_model import LogisticRegression
|
20 |
+
import sklearn.model_selection
|
21 |
+
from sklearn.feature_extraction.text import TfidfTransformer
|
22 |
+
from sklearn.feature_extraction.text import CountVectorizer
|
23 |
+
from sklearn.naive_bayes import MultinomialNB
|
24 |
+
from sklearn.model_selection import GridSearchCV
|
25 |
+
from sklearn.pipeline import Pipeline, FeatureUnion
|
26 |
+
import math
|
27 |
+
from sklearn.metrics import accuracy_score
|
28 |
+
from sklearn.metrics import precision_recall_fscore_support
|
29 |
+
from sklearn.model_selection import train_test_split
|
30 |
+
#from sklearn.metrics import make_scorer
|
31 |
+
import json
|
32 |
+
import re
|
33 |
+
import numpy as np
|
34 |
+
import pandas as pd
|
35 |
+
import re
|
36 |
+
import nltk
|