This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; | |
;; Matcher should recognize and destruct URL by: | |
;; host: domain | |
;; path: parts, splitted with "/" | |
;; queryparam: name/value pairs of query | |
;; (see examples below) | |
;; | |
;; Each string that is started from "?" is a "bind" | |
;; (recognize matcher) should return nil or seq of binds | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datasets import load_dataset | |
import transformers | |
from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer | |
import ray | |
from ray import tune, air | |
from ray.train.huggingface import HuggingFaceTrainer | |
from ray.air.config import ScalingConfig | |
import os |
OlderNewer