You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: label_studio_ml/examples/gliner/README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,3 +85,16 @@ The following common parameters are available:
85
85
-`THREADS` - Specify the number of threads for the model server.
86
86
-`LABEL_STUDIO_URL` - Specify the URL of your Label Studio instance. Note that this might need to be `http://host.docker.internal:8080` if you are running Label Studio on another Docker container.
87
87
-`LABEL_STUDIO_API_KEY`- Specify the API key for authenticating your Label Studio instance. You can find this by logging into Label Studio and and [going to the **Account & Settings** page](https://labelstud.io/guide/user_account#Access-token).
88
+
89
+
## A Note on Model Training
90
+
91
+
If you plan to use a webhook to train this model on "Start Training", note that you do
92
+
not need to configure a separate webhook. Instead, go to the three dots next to your model
93
+
on the Model tab in your project settings and click "start training".
94
+
95
+
Additionally, note that this container has been set for a **VERY SMALL** demo set, with only 1
96
+
non-eval sample (we expect the first 10 data samples to be for evaluation.)
97
+
98
+
If you're working with a larger dataset, be sure to:
99
+
1. update num_steps and batch size to the number of training steps you want and the batch size that works for your dataset.
100
+
2. change the uploaded model after training (line 239 of `model.py`) to the highest checkpoint that you have.
0 commit comments