epugh commented on code in PR #1213:
URL: https://github.com/apache/solr/pull/1213#discussion_r1044891360


##########
solr/example/films/vectors/create_dataset.py:
##########
@@ -0,0 +1,48 @@
+from sentence_transformers import SentenceTransformer, util
+import torch
+
+from films import *
+
+#### Load the 10-dimensions model
+model = SentenceTransformer(FILEPATH_FILMS_MODEL)

Review Comment:
   > Gradlew returned and error:
   > 
   > ```
   > Execution failed for task ':solr:example:rat'.
   > > Detected license header issues (skip with 
-Pvalidation.rat.failOnError=false):
   >   Unknown license: 
/home/runner/work/solr/solr/solr/example/films/vectors/films.py
   >   Unknown license: 
/home/runner/work/solr/solr/solr/example/films/vectors/create_dataset.py
   >   Unknown license: 
/home/runner/work/solr/solr/solr/example/films/vectors/create_model.py
   > ```
   > 
   > Not sure how to proceed.
   
   I think you need to just add teh ASL license text at the top...   look at 
some of the scripts in `dev-tools/scripts` for examples...



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to