- this inference endpoint has three sub endpoints defined by the dictionary in the class constructor.
- all requests sent should be of the form {"inputs": data} where the data is another JSON/dictionary/js object.
- the data must be of the form {"num_endpoint": int} where int is:
ββββ0 (for testing endpoint)
ββββ1 for creating user
ββββ2 for the model's move - to create user embeddings, specify additional fields in data:
ββββ"username" : chess.com username
ββββ"pgn_content": a sinlge pgn consisting of multiple games played by the user
ββββ"games_per_player": specify how many games in the pgn file - to get an ai_move, specify additional fields in data:
ββββ"pgn_string" : pgn of game so far
ββββ"color": "white" if model is playing with white pieces else "black"
ββββ"player_centroid": player_centroid as python list generated by endpoint 1 - the pytorch model definitions are in the encoder folder, and the model weights are in the *.pt file(s).
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
π
Ask for provider support