File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ unboxapi.egg-info/
33data /
44.ipynb_checkpoints /
55.DS_Store
6-
6+ build
7+ dist
78template_model.py
8-
99server-tests.ipynb
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ from unboxapi.models import ModelType
2323def predict (model , text_list ):
2424 return model.predict(text_list)
2525
26- # Package a model as a bento service and upload to Firebase
26+ # Package your model and upload it to Unbox
2727client.add_model(
2828 function = predict,
2929 model = model,
@@ -39,7 +39,7 @@ client.add_model(
3939## Datasets
4040
4141``` python
42- # Upload a dataset to Firebase
42+ # Upload your dataset csv to Unbox
4343client.add_dataset(
4444 file_path = ' path/to/dataset.csv' ,
4545 class_names = [' negative' , ' positive' ], # Notice it matches the model class names
@@ -49,7 +49,7 @@ client.add_dataset(
4949 description = ' My sentiment analysis validation dataset' ,
5050)
5151
52- # Upload a pandas data frame to Firebase
52+ # Alternatively, upload your pandas dataframe to Unbox
5353client.add_dataframe(
5454 df = dataframe,
5555 class_names = [' negative' , ' positive' ], # Notice it matches the model class names
You can’t perform that action at this time.
0 commit comments