This file contains hidden or 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
| // A Dynamic Programming based C++ program to find minimum | |
| // number operations to convert str1 to str2 | |
| #include <bits/stdc++.h> | |
| using namespace std; | |
| // Utility function to find the minimum of three numbers | |
| int min(int x, int y, int z) | |
| { | |
| return min(min(x, y), z); | |
| } |
This file contains hidden or 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
| # train_grpo.py | |
| import re | |
| import torch | |
| from datasets import load_dataset, Dataset | |
| from transformers import AutoTokenizer, AutoModelForCausalLM | |
| from peft import LoraConfig | |
| from trl import GRPOConfig, GRPOTrainer | |
| # Load and prep dataset |
This file contains hidden or 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
| http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8 | |
| http://playertest.longtailvideo.com/adaptive/wowzaid3/playlist.m3u8 | |
| http://cdn-fms.rbs.com.br/vod/hls_sample1_manifest.m3u8 | |
| http://nasatv-lh.akamaihd.net/i/NASA_101@319270/index_1000_av-p.m3u8?sd=10&rebase=on | |
| http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8 |