Skip to content

Instantly share code, notes, and snippets.

@jamescalam
Created October 14, 2022 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamescalam/d2ebe027c6cd8126cafd3b4f2d38525a to your computer and use it in GitHub Desktop.
Save jamescalam/d2ebe027c6cd8126cafd3b4f2d38525a to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"id": "7a4f743c-4eb2-4e8d-b8a4-86f074f5d8cf",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'title': 'Training and Testing an Italian BERT - Transformers From Scratch #4',\n",
" 'visibility': 'Public',\n",
" 'published': '2021-07-06 13:00:03 UTC',\n",
" 'url': 'https://youtu.be/35Pdoyi6ZoQ',\n",
" 'id': '35Pdoyi6ZoQ-t0.0',\n",
" 'text': 'Hi, welcome to the video.',\n",
" 'start': 0.0,\n",
" 'end': 9.36}"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data[0]"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "f656fdc5-0d9b-404f-83ff-f03a1a15d1e6",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'title': 'Training and Testing an Italian BERT - Transformers From Scratch #4',\n",
" 'visibility': 'Public',\n",
" 'published': '2021-07-06 13:00:03 UTC',\n",
" 'url': 'https://youtu.be/35Pdoyi6ZoQ',\n",
" 'id': '35Pdoyi6ZoQ-t3.0',\n",
" 'text': 'So this is the fourth video in a Transformers',\n",
" 'start': 3.0,\n",
" 'end': 11.56}"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data[1]"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "9a3cae1e-3513-4c86-b9b6-9b274daabc28",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'title': 'Training and Testing an Italian BERT - Transformers From Scratch #4',\n",
" 'visibility': 'Public',\n",
" 'published': '2021-07-06 13:00:03 UTC',\n",
" 'url': 'https://youtu.be/35Pdoyi6ZoQ',\n",
" 'id': '35Pdoyi6ZoQ-t9.36',\n",
" 'text': 'from Scratch mini series.',\n",
" 'start': 9.36,\n",
" 'end': 15.84}"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"data[2]"
]
}
],
"metadata": {
"environment": {
"kernel": "python3",
"name": "common-cu110.m95",
"type": "gcloud",
"uri": "gcr.io/deeplearning-platform-release/base-cu110:m95"
},
"kernelspec": {
"display_name": "Python 3.9.12 ('ml')",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
},
"vscode": {
"interpreter": {
"hash": "b8e7999f96e1b425e2d542f21b571f5a4be3e97158b0b46ea1b2500df63956ce"
}
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment