Rubens commited on
Commit
26670aa
1 Parent(s): e6a6695

100 epochs

Browse files
Files changed (5) hide show
  1. .gitattributes +0 -0
  2. Dubai_translated_best_2500.csv +0 -0
  3. README.md +0 -0
  4. app.py +4 -1
  5. requirements.txt +0 -0
.gitattributes CHANGED
File without changes
Dubai_translated_best_2500.csv CHANGED
File without changes
README.md CHANGED
File without changes
app.py CHANGED
@@ -147,7 +147,7 @@ cp_callback = tf.keras.callbacks.ModelCheckpoint(
147
  save_weights_only=True,
148
  save_freq=2)
149
 
150
- model.fit(cached_train, callbacks=[cp_callback],epochs=2)
151
 
152
  index=df["code"].map(lambda x: [model.movie_model(tf.constant(x))])
153
 
@@ -177,6 +177,9 @@ def predict(text):
177
  plt.text(x, y, y, ha='center', va='bottom', fontsize=12, color='black')
178
  return xx, fig
179
 
 
 
 
180
  demo = gr.Interface(fn=predict, inputs=gr.inputs.Textbox(label='CANDIDATE COMPETENCES - Click *Clear* before adding new input'), \
181
  outputs=[gr.outputs.Textbox(label='SUGGESTED VACANCIES'),\
182
  gr.Plot()],\
 
147
  save_weights_only=True,
148
  save_freq=2)
149
 
150
+ model.fit(cached_train, callbacks=[cp_callback],epochs=100)
151
 
152
  index=df["code"].map(lambda x: [model.movie_model(tf.constant(x))])
153
 
 
177
  plt.text(x, y, y, ha='center', va='bottom', fontsize=12, color='black')
178
  return xx, fig
179
 
180
+ predict("")
181
+
182
+
183
  demo = gr.Interface(fn=predict, inputs=gr.inputs.Textbox(label='CANDIDATE COMPETENCES - Click *Clear* before adding new input'), \
184
  outputs=[gr.outputs.Textbox(label='SUGGESTED VACANCIES'),\
185
  gr.Plot()],\
requirements.txt CHANGED
File without changes