Instructions to use syssec-utd/pylingual-v1-control-flow with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use syssec-utd/pylingual-v1-control-flow with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("syssec-utd/pylingual-v1-control-flow", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from syssec-utd/pylingual-v1-control-flow: direct link, hf CLI and curl.
- Browser
- Download file 2.34 kB
-
https://huggingface.co/syssec-utd/pylingual-v1-control-flow/resolve/main/config.json
- Command line
-
hf download hf://syssec-utd/pylingual-v1-control-flow/config.json
-
curl -L -o config.json https://huggingface.co/syssec-utd/pylingual-v1-control-flow/resolve/main/config.json
2.34 kB
| { | |
| "architectures": [ | |
| "TransitionModel" | |
| ], | |
| "d_ff": 1024, | |
| "d_model": 256, | |
| "decoder_layers": 2, | |
| "dropout": 0.1, | |
| "dtype": "float32", | |
| "heads": 8, | |
| "layers": 4, | |
| "max_input_tokens": 8192, | |
| "max_stmts": 2048, | |
| "model_type": "cflow_transition", | |
| "products": true, | |
| "transformers_version": "5.17.0", | |
| "use_cache": false, | |
| "vocab": [ | |
| "<pad>", | |
| "<unk>", | |
| "<ref>", | |
| "|", | |
| "~", | |
| "@", | |
| "nf", | |
| "x0", | |
| "n+", | |
| "n-", | |
| "n=", | |
| "j+", | |
| "j-", | |
| "j=", | |
| "t+", | |
| "t-", | |
| "t=", | |
| "f+", | |
| "f-", | |
| "f=", | |
| "x+", | |
| "x-", | |
| "x=", | |
| "ASYNC_GEN_WRAP", | |
| "BEFORE_ASYNC_WITH", | |
| "BEFORE_WITH", | |
| "BEGIN_FINALLY", | |
| "BREAK_LOOP", | |
| "CALL_FINALLY", | |
| "CHECK_EXC_MATCH", | |
| "CLEANUP_THROW", | |
| "COMPARE_OP_EXC", | |
| "CONTINUE_LOOP", | |
| "END_ASYNC_FOR", | |
| "END_FINALLY", | |
| "END_FOR", | |
| "FOR_ITER", | |
| "GEN_START", | |
| "GET_AITER", | |
| "GET_ANEXT", | |
| "GET_AWAITABLE", | |
| "GET_ITER", | |
| "JUMP_ABSOLUTE", | |
| "JUMP_BACKWARD", | |
| "JUMP_BACKWARD_NO_INTERRUPT", | |
| "JUMP_FORWARD", | |
| "JUMP_IF_FALSE_OR_POP", | |
| "JUMP_IF_NOT_EXC_MATCH", | |
| "JUMP_IF_TRUE_OR_POP", | |
| "K_break", | |
| "K_case", | |
| "K_cond", | |
| "K_continue", | |
| "K_deco", | |
| "K_def", | |
| "K_except", | |
| "K_for", | |
| "K_match", | |
| "K_none", | |
| "K_raise", | |
| "K_return", | |
| "K_stmt", | |
| "K_try", | |
| "K_while_true", | |
| "K_with", | |
| "LOAD_ASSERTION_ERROR", | |
| "LOAD_SPECIAL", | |
| "MATCH_CLASS", | |
| "MATCH_KEYS", | |
| "MATCH_MAPPING", | |
| "MATCH_SEQUENCE", | |
| "NOP", | |
| "POP_BLOCK", | |
| "POP_EXCEPT", | |
| "POP_FINALLY", | |
| "POP_ITER", | |
| "POP_JUMP_BACKWARD_IF_FALSE", | |
| "POP_JUMP_BACKWARD_IF_NONE", | |
| "POP_JUMP_BACKWARD_IF_NOT_NONE", | |
| "POP_JUMP_BACKWARD_IF_TRUE", | |
| "POP_JUMP_FORWARD_IF_FALSE", | |
| "POP_JUMP_FORWARD_IF_NONE", | |
| "POP_JUMP_FORWARD_IF_NOT_NONE", | |
| "POP_JUMP_FORWARD_IF_TRUE", | |
| "POP_JUMP_IF_FALSE", | |
| "POP_JUMP_IF_NONE", | |
| "POP_JUMP_IF_NOT_NONE", | |
| "POP_JUMP_IF_TRUE", | |
| "PUSH_EXC_INFO", | |
| "RAISE_VARARGS", | |
| "RERAISE", | |
| "RETURN_CONST", | |
| "RETURN_GENERATOR", | |
| "RETURN_VALUE", | |
| "SEND", | |
| "SETUP_ANNOTATIONS", | |
| "SETUP_ASYNC_WITH", | |
| "SETUP_EXCEPT", | |
| "SETUP_FINALLY", | |
| "SETUP_LOOP", | |
| "SETUP_WITH", | |
| "WITH_CLEANUP_FINISH", | |
| "WITH_CLEANUP_START", | |
| "WITH_EXCEPT_START", | |
| "YIELD_FROM", | |
| "YIELD_VALUE" | |
| ] | |
| } | |