Dennis Müller
Dennis Müller
I'm using `"org.platanios" %% "tensorflow" % "0.4.1" classifier "linux-cpu-x86_64"` in my sbt file, btw
(also: I noticed that java booleans seem to be the opposite from the ones in rust: Passing the java value `true` to a rust function prints `false` and vice versa)
Also, I'm getting a similar error when calling a java function that takes an Integer array as input. When converting the corresponding `Vec`, it throws: `panicked at 'called Result::unwrap() on...
Hi, I'm really sorry I can't be more informative. The string bug I tried to narrow down to something simpler, but in all my toy examples it worked - only...
+1, because I'm really confused by the blogpost... In particular, I have no idea how to "combine" the tokenizer and dataset implemented in python with the `run_language_modeling.py` script used for...
@aditya-malte Thanks a lot :) I'm still confused though. Both the original blog post and your notebook use `ByteLevelBPETokenizer`. If I save one of those (and rename the output files...
I did rename them, as you did in the notebook, but I still get the error... if I interpret the error message correctly, it expects a `vocab.txt`, but your notebook...
It's the path to the folder containing the two files `vocab.json` and `merges.txt` - seemingly the same thing your notebook does, so I'm almost positive that's not it... do different...
@aditya-malte I'm doing it exactly like the script does... i.e. match on the model name and use ``` MODEL_CLASSES = { "gpt2": (GPT2Config, GPT2LMHeadModel, GPT2Tokenizer), "openai-gpt": (OpenAIGPTConfig, OpenAIGPTLMHeadModel, OpenAIGPTTokenizer), "bert":...
freshly installed from a freshly upgraded version of pip thursday ;) regarding cache_dir: no idea, just copied that from the script to see what ends up in there :D