text stringlengths 5 22M | id stringlengths 12 177 | metadata dict | __index_level_0__ int64 0 1.37k |
|---|---|---|---|
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="ghainDotbelow-ar.fina" format="2">
<advance width="1200"/>
<outline>
<component base="ain-ar.fina"/>
<component base="dotabove-ar" xOffset="10" yOffset="273"/>
<component base="dotcenter-ar" xOffset="32" yOffset="-469"/>
</outline>
<lib>
<dict>... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/ghainD_otbelow-ar.fina.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/ghainD_otbelow-ar.fina.glif",
"repo_id": "cascadia-code",
"token_count": 190
} | 418 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="hyphen" format="2">
<advance width="1200"/>
<unicode hex="002D"/>
<outline>
<component base="minus"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.ComponentInfo</key>
<array>
<dict>
<key>alignment</key>
... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/hyphen.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/hyphen.glif",
"repo_id": "cascadia-code",
"token_count": 270
} | 419 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="kehehDotabove-ar.init" format="2">
<advance width="1200"/>
<outline>
<component base="keheh-ar.init"/>
<component base="dotabove-ar" xOffset="-167" yOffset="601"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<string>0.98,0.36,0.... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/kehehD_otabove-ar.init.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/kehehD_otabove-ar.init.glif",
"repo_id": "cascadia-code",
"token_count": 168
} | 420 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="kehehTwodotshorizontalabove-ar.init" format="2">
<advance width="1200"/>
<anchor x="385" y="1494" name="top"/>
<outline>
<component base="keheh-ar.init"/>
<component base="twodotshorizontalabove-ar.v2" xScale="0.7" yScale="0.7" xOffset="-15" yOffset="750... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/kehehT_wodotshorizontalabove-ar.init.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/kehehT_wodotshorizontalabove-ar.init.glif",
"repo_id": "cascadia-code",
"token_count": 212
} | 421 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="lamDotabove-ar.medi" format="2">
<advance width="1200"/>
<guideline x="304" y="835" angle="0"/>
<outline>
<component base="lam-ar.medi"/>
<component base="dotabove-ar" xOffset="101" yOffset="925"/>
</outline>
<lib>
<dict>
<key>public.markCo... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/lamD_otabove-ar.medi.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/lamD_otabove-ar.medi.glif",
"repo_id": "cascadia-code",
"token_count": 182
} | 422 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="lamThreedotsbelow-ar.init" format="2">
<advance width="1200"/>
<outline>
<component base="lam-ar.init"/>
<component base="threedotsdownbelow-ar" xOffset="257" yOffset="-4"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<string>0.... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/lamT_hreedotsbelow-ar.init.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/lamT_hreedotsbelow-ar.init.glif",
"repo_id": "cascadia-code",
"token_count": 168
} | 423 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="noonThreedotsabove-ar" format="2">
<advance width="1200"/>
<unicode hex="06BD"/>
<outline>
<component base="noonghunna-ar"/>
<component base="threedotsupabove-ar" xOffset="4" yOffset="11"/>
</outline>
<lib>
<dict>
<key>public.markColor</key... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/noonT_hreedotsabove-ar.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/noonT_hreedotsabove-ar.glif",
"repo_id": "cascadia-code",
"token_count": 176
} | 424 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="numbersign_bracketleft.liga" format="2">
<advance width="1200"/>
<outline>
<contour>
<point x="842" y="0" type="line"/>
<point x="1084" y="0" type="line"/>
<point x="1204" y="1420" type="line"/>
<point x="962" y="1420" type="line"/>
... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/numbersign_bracketleft.liga.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/numbersign_bracketleft.liga.glif",
"repo_id": "cascadia-code",
"token_count": 677
} | 425 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="onedotenleader" format="2">
<advance width="1200"/>
<unicode hex="2024"/>
<outline>
<component base="period"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.ComponentInfo</key>
<array>
<dict>
<key>alignment</... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/onedotenleader.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/onedotenleader.glif",
"repo_id": "cascadia-code",
"token_count": 272
} | 426 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="ruble" format="2">
<advance width="1200"/>
<unicode hex="20BD"/>
<outline>
<contour>
<point x="0" y="111" type="line"/>
<point x="788" y="111" type="line"/>
<point x="788" y="316" type="line"/>
<point x="0" y="316" type="line"/>
<... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/ruble.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/ruble.glif",
"repo_id": "cascadia-code",
"token_count": 464
} | 427 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="tilde" format="2">
<advance width="1200"/>
<unicode hex="02DC"/>
<outline>
<component base="tildecomb"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.ComponentInfo</key>
<array>
<dict>
<key>alignment</key>
... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/tilde.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/tilde.glif",
"repo_id": "cascadia-code",
"token_count": 276
} | 428 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="wawHamzaabove-ar.fina" format="2">
<advance width="1200"/>
<outline>
<component base="waw-ar.fina"/>
<component base="hamzaabove-ar" xOffset="50" yOffset="-334"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<string>0.98,0.36,0.6... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/wawH_amzaabove-ar.fina.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/wawH_amzaabove-ar.fina.glif",
"repo_id": "cascadia-code",
"token_count": 169
} | 429 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="Abreveacute" format="2">
<advance width="1200"/>
<unicode hex="1EAE"/>
<outline>
<component base="A"/>
<component base="brevecomb.case" xOffset="-1"/>
<component base="acutecomb.case" xOffset="69" yOffset="400"/>
</outline>
</glyph>
| cascadia-code/sources/CascadiaCode-BoldItalic.ufo/glyphs/A_breveacute.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-BoldItalic.ufo/glyphs/A_breveacute.glif",
"repo_id": "cascadia-code",
"token_count": 124
} | 430 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="beeh-ar.init.alt" format="2">
<advance width="1200"/>
<guideline x="104" y="-120" angle="0"/>
<guideline x="181" y="520" angle="0"/>
<anchor x="0" y="0" name="overlap"/>
<outline>
<component base="behDotless-ar.init.alt"/>
<component base="twodotsver... | cascadia-code/sources/CascadiaCode-ExtraLight.ufo/glyphs/beeh-ar.init.alt.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-ExtraLight.ufo/glyphs/beeh-ar.init.alt.glif",
"repo_id": "cascadia-code",
"token_count": 407
} | 431 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="sadTwodotsbelow-ar.medi" format="2">
<advance width="1200"/>
<guideline x="1561" y="-129" angle="0"/>
<outline>
<component base="sad-ar.medi"/>
<component base="twodotshorizontalbelow-ar" xOffset="50" yOffset="-24"/>
</outline>
<lib>
<dict>
... | cascadia-code/sources/CascadiaCode-ExtraLight.ufo/glyphs/sadT_wodotsbelow-ar.medi.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-ExtraLight.ufo/glyphs/sadT_wodotsbelow-ar.medi.glif",
"repo_id": "cascadia-code",
"token_count": 192
} | 432 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="tchehDotabove-ar.medi" format="2">
<advance width="1200"/>
<outline>
<component base="tcheh-ar.medi"/>
<component base="dotabove-ar" xOffset="-34" yOffset="332"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<string>0.98,0.36,0.6... | cascadia-code/sources/CascadiaCode-ExtraLight.ufo/glyphs/tchehD_otabove-ar.medi.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-ExtraLight.ufo/glyphs/tchehD_otabove-ar.medi.glif",
"repo_id": "cascadia-code",
"token_count": 168
} | 433 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="ainTwodotshorizontalabove-ar.medi" format="2">
<advance width="1200"/>
<outline>
<component base="ain-ar.medi"/>
<component base="twodotshorizontalabove-ar" xOffset="10" yOffset="283"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyph... | cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/ainT_wodotshorizontalabove-ar.medi.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/ainT_wodotshorizontalabove-ar.medi.glif",
"repo_id": "cascadia-code",
"token_count": 352
} | 434 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="dalVinvertedabove-ar.fina" format="2">
<advance width="1200"/>
<outline>
<component base="dal-ar.fina"/>
<component base="vinvertedabove-ar" xOffset="36" yOffset="492"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.ComponentInfo<... | cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/dalV_invertedabove-ar.fina.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/dalV_invertedabove-ar.fina.glif",
"repo_id": "cascadia-code",
"token_count": 343
} | 435 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="ddahal-ar" format="2">
<advance width="1200"/>
<unicode hex="068D"/>
<outline>
<component base="dal-ar"/>
<component base="twodotshorizontalbelow-ar" xOffset="-30" yOffset="-24"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.Co... | cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/ddahal-ar.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/ddahal-ar.glif",
"repo_id": "cascadia-code",
"token_count": 356
} | 436 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="gafThreedots-ar.init" format="2">
<advance width="1200"/>
<anchor x="420" y="1850" name="top"/>
<outline>
<component base="gaf-ar.init"/>
<component base="threedotsupabove-ar.v2" xScale="0.8" yScale="0.8" xOffset="-13" yOffset="912"/>
</outline>
<lib... | cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/gafT_hreedots-ar.init.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/gafT_hreedots-ar.init.glif",
"repo_id": "cascadia-code",
"token_count": 386
} | 437 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="gueh-ar.init" format="2">
<advance width="1200"/>
<outline>
<component base="gaf-ar.init"/>
<component base="twodotsverticalbelow-ar" xOffset="-33" yOffset="-24"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.ComponentInfo</key>
... | cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/gueh-ar.init.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/gueh-ar.init.glif",
"repo_id": "cascadia-code",
"token_count": 347
} | 438 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="kehehThreedotsbelow-ar.medi" format="2">
<advance width="1200"/>
<outline>
<component base="keheh-ar.medi"/>
<component base="threedotsdownbelow-ar" xOffset="49" yOffset="-18"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.Compon... | cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/kehehT_hreedotsbelow-ar.medi.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/kehehT_hreedotsbelow-ar.medi.glif",
"repo_id": "cascadia-code",
"token_count": 350
} | 439 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="nine-arsuperior" format="2">
<advance width="1200"/>
<outline>
<component base="nine-arinferior" yOffset="801"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.ComponentInfo</key>
<array>
<dict>
<key>alignment</... | cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/nine-arsuperior.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/nine-arsuperior.glif",
"repo_id": "cascadia-code",
"token_count": 437
} | 440 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="qaf-ar.init" format="2">
<advance width="1200"/>
<outline>
<component base="fehDotless-ar.init"/>
<component base="twodotshorizontalabove-ar" xOffset="65" yOffset="470"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.ComponentInfo... | cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/qaf-ar.init.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/qaf-ar.init.glif",
"repo_id": "cascadia-code",
"token_count": 350
} | 441 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="tahThreedots-ar.medi" format="2">
<advance width="1200"/>
<outline>
<component base="tah-ar.medi"/>
<component base="threedotsupabove-ar" xOffset="160" yOffset="343"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.ComponentInfo</k... | cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/tahT_hreedots-ar.medi.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/tahT_hreedots-ar.medi.glif",
"repo_id": "cascadia-code",
"token_count": 346
} | 442 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="thal-ar" format="2">
<advance width="1200"/>
<unicode hex="0630"/>
<outline>
<component base="dal-ar"/>
<component base="dotabove-ar" xOffset="16" yOffset="492"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.ComponentInfo</key>... | cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/thal-ar.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/thal-ar.glif",
"repo_id": "cascadia-code",
"token_count": 341
} | 443 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="yehTwodotsbelowHamzaabove-ar" format="2">
<advance width="1200"/>
<unicode hex="08A8"/>
<outline>
<component base="yeh-ar"/>
<component base="hamzaabove-ar" xOffset="-436" yOffset="-664"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.... | cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/yehT_wodotsbelowH_amzaabove-ar.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Regular.ufo/glyphs/yehT_wodotsbelowH_amzaabove-ar.glif",
"repo_id": "cascadia-code",
"token_count": 356
} | 444 |
feature subs {
# automatic
sub zero by zeroinferior;
sub one by oneinferior;
sub two by twoinferior;
sub three by threeinferior;
sub four by fourinferior;
sub five by fiveinferior;
sub six by sixinferior;
sub seven by seveninferior;
sub eight by eightinferior;
sub nine by nineinferior;
sub eight-ar by eight-arinferior;... | cascadia-code/sources/features/figures.fea/0 | {
"file_path": "cascadia-code/sources/features/figures.fea",
"repo_id": "cascadia-code",
"token_count": 1441
} | 445 |
feature ss02 {
# notes:
# Name: Alternate not equals
sub asciitilde_equal.liga by exclam_equal.liga;
} ss02; | cascadia-code/sources/features/ss02.fea/0 | {
"file_path": "cascadia-code/sources/features/ss02.fea",
"repo_id": "cascadia-code",
"token_count": 40
} | 446 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="uniE0A0" format="2">
<advance width="1200"/>
<unicode hex="E0A0"/>
<note>
uniE0A0
</note>
<outline>
<contour>
<point x="168" y="-480" type="line"/>
<point x="444" y="-480" type="line"/>
<point x="444" y="48" type="line" smooth="yes"/>
... | cascadia-code/sources/nerdfonts/NerdfontsPL-Regular.ufo/glyphs/uniE_0A_0.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/NerdfontsPL-Regular.ufo/glyphs/uniE_0A_0.glif",
"repo_id": "cascadia-code",
"token_count": 744
} | 447 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="uniE0BD.stypo" format="2">
<advance width="1200"/>
<note>
uniE0BD
</note>
<outline>
<contour>
<point x="0" y="-480" type="line"/>
<point x="56" y="-480" type="line"/>
<point x="1200" y="1900" type="line"/>
<point x="1144" y="1900" typ... | cascadia-code/sources/nerdfonts/NerdfontsPL-Regular.ufo/glyphs/uniE_0B_D_.stypo.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/NerdfontsPL-Regular.ufo/glyphs/uniE_0B_D_.stypo.glif",
"repo_id": "cascadia-code",
"token_count": 288
} | 448 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="checkbox-blank-circle" format="2">
<advance width="512"/>
<unicode hex="F012F"/>
<unicode hex="F0765"/>
<note>
checkbox-blank-circle
</note>
<outline>
<contour>
<point x="298" y="405"/>
<point x="377" y="373"/>
<point x="437" y="313"/>
... | cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/checkbox-blank-circle.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/checkbox-blank-circle.glif",
"repo_id": "cascadia-code",
"token_count": 397
} | 449 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="ev-plug-type1" format="2">
<advance width="512"/>
<unicode hex="F151D"/>
<note>
ev-plug-type1
</note>
<outline>
<contour>
<point x="277" y="274"/>
<point x="302" y="299"/>
<point x="338" y="299"/>
<point x="363" y="274"/>
<poi... | cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/ev-plug-type1.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/ev-plug-type1.glif",
"repo_id": "cascadia-code",
"token_count": 1406
} | 450 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="google-assistant" format="2">
<advance width="512"/>
<unicode hex="F07CD"/>
<note>
google-assistant
</note>
<outline>
<contour>
<point x="184" y="405"/>
<point x="243" y="371"/>
<point x="277" y="312"/>
<point x="277" y="277" type="... | cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/google-assistant.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/google-assistant.glif",
"repo_id": "cascadia-code",
"token_count": 912
} | 451 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="grain" format="2">
<advance width="512"/>
<unicode hex="F0D7C"/>
<note>
grain
</note>
<outline>
<contour>
<point x="231" y="192"/>
<point x="256" y="167"/>
<point x="256" y="132"/>
<point x="231" y="107"/>
<point x="196" y="10... | cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/grain.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/grain.glif",
"repo_id": "cascadia-code",
"token_count": 1438
} | 452 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="plus-circle" format="2">
<advance width="512"/>
<unicode hex="F0417"/>
<note>
plus-circle
</note>
<outline>
<contour>
<point x="363" y="213" type="line"/>
<point x="277" y="213" type="line"/>
<point x="277" y="299" type="line"/>
<po... | cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/plus-circle.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/plus-circle.glif",
"repo_id": "cascadia-code",
"token_count": 636
} | 453 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="protocol" format="2">
<advance width="512"/>
<unicode hex="F0FD8"/>
<note>
protocol
</note>
<outline>
<contour>
<point x="469" y="363" type="line"/>
<point x="384" y="363" type="line"/>
<point x="299" y="21" type="line"/>
<point x="... | cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/protocol.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/protocol.glif",
"repo_id": "cascadia-code",
"token_count": 611
} | 454 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="tumble-dryer-off" format="2">
<advance width="512"/>
<unicode hex="F11BB"/>
<note>
tumble-dryer-off
</note>
<outline>
<contour>
<point x="445" y="-37" type="line"/>
<point x="415" y="-7" type="line"/>
<point x="403" y="-21"/>
<point... | cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/tumble-dryer-off.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/original/MaterialDesignIconsDesktop.ufo/glyphs/tumble-dryer-off.glif",
"repo_id": "cascadia-code",
"token_count": 1415
} | 455 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="access-point" format="2">
<advance width="1200"/>
<unicode hex="F0003"/>
<note>
access-point
</note>
<outline>
<contour>
<point x="271" y="1039" type="qcurve"/>
<point x="189" y="1121" type="line"/>
<point x="110" y="1039"/>
<point ... | cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/access-point.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/access-point.glif",
"repo_id": "cascadia-code",
"token_count": 1137
} | 456 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="blur-radial" format="2">
<advance width="1200"/>
<unicode hex="F00B8"/>
<note>
blur-radial
</note>
<outline>
<contour>
<point x="742" y="653"/>
<point x="717" y="653" type="qcurve" smooth="yes"/>
<point x="693" y="653"/>
<point x="6... | cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/blur-radial.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/blur-radial.glif",
"repo_id": "cascadia-code",
"token_count": 2754
} | 457 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="briefcase-account" format="2">
<advance width="1200"/>
<unicode hex="F0CF0"/>
<note>
briefcase-account
</note>
<outline>
<contour>
<point x="1112" y="1030"/>
<point x="1066" y="1030" type="qcurve" smooth="yes"/>
<point x="831" y="1030" ty... | cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/briefcase-account.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/briefcase-account.glif",
"repo_id": "cascadia-code",
"token_count": 1115
} | 458 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="chat-outline" format="2">
<advance width="1200"/>
<unicode hex="F0EDE"/>
<note>
chat-outline
</note>
<outline>
<contour>
<point x="758" y="1233"/>
<point x="600" y="1233" type="qcurve" smooth="yes"/>
<point x="442" y="1233"/>
<point... | cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/chat-outline.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/chat-outline.glif",
"repo_id": "cascadia-code",
"token_count": 778
} | 459 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="circle-half" format="2">
<advance width="1200"/>
<unicode hex="F1395"/>
<note>
circle-half
</note>
<outline>
<contour>
<point x="955" y="0" type="qcurve"/>
<point x="955" y="1420" type="line"/>
<point x="815" y="1420"/>
<point x="55... | cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/circle-half.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/circle-half.glif",
"repo_id": "cascadia-code",
"token_count": 272
} | 460 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="dialpad" format="2">
<advance width="1200"/>
<unicode hex="F061C"/>
<note>
dialpad
</note>
<outline>
<contour>
<point x="654" y="260"/>
<point x="600" y="260" type="qcurve" smooth="yes"/>
<point x="546" y="260"/>
<point x="470" y="1... | cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/dialpad.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/dialpad.glif",
"repo_id": "cascadia-code",
"token_count": 1851
} | 461 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="google-circles-communities" format="2">
<advance width="1200"/>
<unicode hex="F02B1"/>
<note>
google-circles-communities
</note>
<outline>
<contour>
<point x="823" y="710"/>
<point x="774" y="710" type="qcurve" smooth="yes"/>
<point x="72... | cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/google-circles-communities.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/google-circles-communities.glif",
"repo_id": "cascadia-code",
"token_count": 1173
} | 462 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="keyboard-settings-outline" format="2">
<advance width="1200"/>
<unicode hex="F09FA"/>
<note>
keyboard-settings-outline
</note>
<outline>
<contour>
<point x="309" y="159" type="line"/>
<point x="426" y="159" type="line"/>
<point x="426" y=... | cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/keyboard-settings-outline.glif/0 | {
"file_path": "cascadia-code/sources/nerdfonts/full/processed/MaterialDesignIconsDesktop.ufo/glyphs/keyboard-settings-outline.glif",
"repo_id": "cascadia-code",
"token_count": 1956
} | 463 |
# Generated by Powerlevel10k configuration wizard on 2022-04-20 at 10:33 BST.
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 08860.
# Wizard options: nerdfont-complete + powerline, small icons, unicode, lean, 2 lines,
# disconnected, no frame, compact, many icons, concise, instant_prompt=verbose.
# Typ... | causica/.devcontainer/.p10k.zsh/0 | {
"file_path": "causica/.devcontainer/.p10k.zsh",
"repo_id": "causica",
"token_count": 32138
} | 464 |
repos:
- repo: local
hooks:
- id: black
name: black
entry: poetry run black
language: system
types_or: [python, jupyter]
args: [--config=./pyproject.toml]
- repo: local
hooks:
- id: isort
name: isort
entry: poetry run isort --resolve-all-configs
language: system
types: [pytho... | causica/.pre-commit-config.yaml/0 | {
"file_path": "causica/.pre-commit-config.yaml",
"repo_id": "causica",
"token_count": 321
} | 465 |
# Neural Structure Learning with Stochastic Differential Equations (SCOTCH)
[
](https://openreview.net/forum?id=V1GM9xDvIY)
[ -> Tensor:
"""Evaluate metrics for the difference between a true and predicted graph.
Args:
true_graph: The true graph; Tensor of shape (state_size, state_size).
pred_graph: The pred... | causica/research_experiments/scotch/src/scotch/scotch_utils/graph_metrics.py/0 | {
"file_path": "causica/research_experiments/scotch/src/scotch/scotch_utils/graph_metrics.py",
"repo_id": "causica",
"token_count": 1075
} | 467 |
import torch
from causica.data_generation.samplers.functional_relationships_sampler import FunctionalRelationshipsSampler
from causica.data_generation.samplers.noise_dist_sampler import JointNoiseModuleSampler
from causica.data_generation.samplers.sampler import Sampler
from causica.distributions import AdjacencyDistr... | causica/src/causica/data_generation/samplers/sem_sampler.py/0 | {
"file_path": "causica/src/causica/data_generation/samplers/sem_sampler.py",
"repo_id": "causica",
"token_count": 505
} | 468 |
from functools import partial
from typing import Callable, Type
import torch
import torch.distributions as td
from causica.distributions.adjacency.adjacency_distributions import AdjacencyDistribution
from causica.distributions.distribution_module import DistributionModule
class ConstrainedAdjacencyDistribution(Adja... | causica/src/causica/distributions/adjacency/constrained_adjacency_distributions.py/0 | {
"file_path": "causica/src/causica/distributions/adjacency/constrained_adjacency_distributions.py",
"repo_id": "causica",
"token_count": 3150
} | 469 |
from typing import Optional, Union
import torch
import torch.distributions as td
from torch import nn
from causica.distributions.noise.noise import IndependentNoise, Noise, NoiseModule
from causica.distributions.noise.spline.rational_quadratic_transform import PiecewiseRationalQuadraticTransform
# Ordered inputs to ... | causica/src/causica/distributions/noise/spline/spline.py/0 | {
"file_path": "causica/src/causica/distributions/noise/spline/spline.py",
"repo_id": "causica",
"token_count": 3289
} | 470 |
import torch
from causica.triangular_transformations import unfill_triangular
def adjacency_precision_recall(graph1: torch.Tensor, graph2: torch.Tensor) -> tuple[torch.Tensor, torch.Tensor]:
"""Evaluate the precision and recall of edge existence for two adjacency matrices."""
vec1 = torch.abs(_to_vector(grap... | causica/src/causica/graph/evaluation_metrics.py/0 | {
"file_path": "causica/src/causica/graph/evaluation_metrics.py",
"repo_id": "causica",
"token_count": 1040
} | 471 |
import torch
from torch import nn
class DECIEmbedNN(nn.Module):
"""
Defines the function f for the SEM. For each variable x_i we use
f_i(x) = f(e_i, sum_{k in pa(i)} g(e_k, x_k)), where e_i is a learned embedding
for node i.
"""
def __init__(
self,
group_mask: torch.Tensor,
... | causica/src/causica/nn/deci_embed_nn.py/0 | {
"file_path": "causica/src/causica/nn/deci_embed_nn.py",
"repo_id": "causica",
"token_count": 2931
} | 472 |
import torch
from tensordict import TensorDict
from causica.datasets.normalization import fit_standardizer
def test_standardizer():
data = TensorDict(
{
"x": torch.randn((100, 3)) * torch.arange(1, 4).float(),
"y": torch.randn((100, 3)) + torch.arange(1, 4).float(),
},
... | causica/test/datasets/test_standardizer.py/0 | {
"file_path": "causica/test/datasets/test_standardizer.py",
"repo_id": "causica",
"token_count": 1290
} | 473 |
import pandas as pd
import torch
from causica.datasets.causica_dataset_format import Variable
from causica.lightning.data_modules.basic_data_module import BasicDECIDataModule
def test_basic_data_module():
"""Test Basic Data Module functionality"""
df = pd.DataFrame(
{
"x0_0": {
... | causica/test/lightning/test_basic_data_module.py/0 | {
"file_path": "causica/test/lightning/test_basic_data_module.py",
"repo_id": "causica",
"token_count": 1930
} | 474 |
# Support
## How to file issues and get help
This project uses GitHub Issues to track bugs and feature requests. Please search the existing
issues before filing new issues to avoid duplicates. For new issues, file your bug or
feature request as a new Issue.
For help and questions about using this project, please **... | cliffordlayers/SUPPORT.md/0 | {
"file_path": "cliffordlayers/SUPPORT.md",
"repo_id": "cliffordlayers",
"token_count": 151
} | 475 |
#####################################################################################
# Major ideas of complex batch norm taken from https://github.com/ivannz/cplxmodule
# MIT License
#####################################################################################
from typing import Optional, Union
import torch
i... | cliffordlayers/cliffordlayers/nn/functional/batchnorm.py/0 | {
"file_path": "cliffordlayers/cliffordlayers/nn/functional/batchnorm.py",
"repo_id": "cliffordlayers",
"token_count": 3581
} | 476 |
site_name: CliffordLayers
site_description: Documentation for CliffordLayers
repo_name: microsoft/cliffordlayers
edit_uri: edit/main/docs
repo_url: https://github.com/microsoft/cliffordlayers
markdown_extensions:
- attr_list
- tables
- admonition
- md_in_html
- pymdownx.details
- pymdownx.superfences
- p... | cliffordlayers/mkdocs.yml/0 | {
"file_path": "cliffordlayers/mkdocs.yml",
"repo_id": "cliffordlayers",
"token_count": 775
} | 477 |
#!/usr/bin/env/python
"""
Usage:
get_data.py --dataset zinc|qm9|cep
Options:
-h --help Show this screen.
--dataset NAME Dataset name: zinc, qm9, cep
"""
import sys, os
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..'))
from rdkit import Chem
from rdkit... | constrained-graph-variational-autoencoder/data/get_zinc.py/0 | {
"file_path": "constrained-graph-variational-autoencoder/data/get_zinc.py",
"repo_id": "constrained-graph-variational-autoencoder",
"token_count": 851
} | 478 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from typing import Dict, List
import spacy
from spacy.language import Language
class SpacyExtractor:
"""class SpacyExtractor encapsulates logic to pipe Records with an id and text body
through a spacy model and retu... | cookiecutter-spacy-fastapi/{{cookiecutter.project_slug}}/app/spacy_extractor.py/0 | {
"file_path": "cookiecutter-spacy-fastapi/{{cookiecutter.project_slug}}/app/spacy_extractor.py",
"repo_id": "cookiecutter-spacy-fastapi",
"token_count": 1274
} | 479 |
{
"extends": "solium:recommended",
"plugins": [
"security"
],
"rules": {
"quotes": [
"error",
"double"
],
"indentation": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
]
}
} | 0xDeCA10B/demo/.soliumrc.json/0 | {
"file_path": "0xDeCA10B/demo/.soliumrc.json",
"repo_id": "0xDeCA10B",
"token_count": 139
} | 0 |
import blue from '@material-ui/core/colors/blue'
import CssBaseline from '@material-ui/core/CssBaseline'
import { createMuiTheme } from '@material-ui/core/styles'
import { ThemeProvider } from '@material-ui/styles'
import { SnackbarProvider } from 'notistack'
import React, { Component } from 'react'
import { BrowserRou... | 0xDeCA10B/demo/client/src/App.js/0 | {
"file_path": "0xDeCA10B/demo/client/src/App.js",
"repo_id": "0xDeCA10B",
"token_count": 837
} | 1 |
pragma solidity ^0.6;
pragma experimental ABIEncoderV2;
import "../../../lib/Math.sol";
import {Classifier64} from "./Classifier.sol";
/**
* A nearest centroid classifier that uses Euclidean distance to predict the closest centroid based on a sparse data sample.
* Data must be sorted indices of features with each ... | 0xDeCA10B/demo/client/src/contracts/classification/SparseNearestCentroidClassifier.sol/0 | {
"file_path": "0xDeCA10B/demo/client/src/contracts/classification/SparseNearestCentroidClassifier.sol",
"repo_id": "0xDeCA10B",
"token_count": 4134
} | 2 |
body {
font-family: sans-serif;
}
| 0xDeCA10B/demo/client/src/index.css/0 | {
"file_path": "0xDeCA10B/demo/client/src/index.css",
"repo_id": "0xDeCA10B",
"token_count": 16
} | 3 |
const fs = require('fs')
const CollaborativeTrainer64 = artifacts.require('./CollaborativeTrainer64')
const DataHandler64 = artifacts.require('./data/DataHandler64')
const Stakeable64 = artifacts.require('./incentive/Stakeable64')
const { deployModel } = require('../../src/ml-models/deploy-model-node')
const { convert... | 0xDeCA10B/demo/client/test/contracts/check-gas-costs.js/0 | {
"file_path": "0xDeCA10B/demo/client/test/contracts/check-gas-costs.js",
"repo_id": "0xDeCA10B",
"token_count": 3820
} | 4 |
const express = require('express')
const fs = require('fs')
const initSqlJs = require('sql.js')
const app = express()
const port = process.env.PORT || 5387
const jsonParser = express.json()
const dbPath = 'db.sqlite'
initSqlJs().then(SQL => {
let db
if (fs.existsSync(dbPath)) {
const fileBuffer = fs.readFileSync(... | 0xDeCA10B/demo/server.js/0 | {
"file_path": "0xDeCA10B/demo/server.js",
"repo_id": "0xDeCA10B",
"token_count": 2304
} | 5 |
from collections import Counter
from logging import Logger
import math
from injector import inject, Module, singleton
from decai.simulation.contract.balances import Balances
from decai.simulation.contract.data.data_handler import StoredData
from decai.simulation.contract.incentive.incentive_mechanism import Incentive... | 0xDeCA10B/simulation/decai/simulation/contract/incentive/stakeable.py/0 | {
"file_path": "0xDeCA10B/simulation/decai/simulation/contract/incentive/stakeable.py",
"repo_id": "0xDeCA10B",
"token_count": 2685
} | 6 |
import ast
import logging
import os
import re
import time
from collections import Counter
from dataclasses import dataclass, field
from logging import Logger
from pathlib import Path
from typing import List, Set, Tuple
import numpy as np
from injector import ClassAssistedBuilder, inject, Module, provider, singleton
fr... | 0xDeCA10B/simulation/decai/simulation/data/fitness_data_loader.py/0 | {
"file_path": "0xDeCA10B/simulation/decai/simulation/data/fitness_data_loader.py",
"repo_id": "0xDeCA10B",
"token_count": 3430
} | 7 |
import os
import sys
from typing import Optional
from injector import Injector
from decai.simulation.contract.classification.perceptron import PerceptronModule
from decai.simulation.contract.collab_trainer import DefaultCollaborativeTrainerModule
from decai.simulation.contract.incentive.stakeable import StakeableImMo... | 0xDeCA10B/simulation/decai/simulation/simulate_imdb_perceptron.py/0 | {
"file_path": "0xDeCA10B/simulation/decai/simulation/simulate_imdb_perceptron.py",
"repo_id": "0xDeCA10B",
"token_count": 1182
} | 8 |
#!/bin/bash
set -e
if [[ "$1" = "serve" ]]; then
shift 1
torchserve --start --ts-config /home/model-server/config.properties
else
eval "$@"
fi
# prevent docker exit
tail -f /dev/null | AI-System/Labs/BasicLabs/Lab5/dockerd-entrypoint.sh/0 | {
"file_path": "AI-System/Labs/BasicLabs/Lab5/dockerd-entrypoint.sh",
"repo_id": "AI-System",
"token_count": 79
} | 9 |
<!--Copyright © Microsoft Corporation. All rights reserved.
适用于[License](https://github.com/microsoft/AI-System/blob/main/LICENSE)版权许可-->
# 强化学习系统前言
# 简介
近年来,强化学习不断发展,强化学习的应用在学术界和工业层出不穷,让人留下了深刻印象。 例如,2016年的AlphaGo[1]通过自我对弈数以万计盘进行练习强化,在一场五番棋比赛中4:1击败顶尖职业棋手李世石。 而深度强化学习真正的发展归功于神经网络、深度学习以及计算力的提升。纵观近年的顶级会议论文,强化学习的理论进步... | AI-System/Textbook/第10章-强化学习系统/10-强化学习系统-前言.md/0 | {
"file_path": "AI-System/Textbook/第10章-强化学习系统/10-强化学习系统-前言.md",
"repo_id": "AI-System",
"token_count": 1219
} | 10 |
<!--Copyright © Microsoft Corporation. All rights reserved.
适用于[License](https://github.com/microsoft/AI-System/blob/main/LICENSE)版权许可-->
# 模型压缩与加速 (Model Compression and Acceleration)
# 简介
在深度学习中,模型压缩通常是指通过特定的方法使用更少的数据比特表示原有模型,类似于传统计算机科学中的数据压缩或视频编码。
学术界高精度的深度学习模型在落地部署到工业界应用的过程中,经常面临着低吞吐,高延迟和高功耗的挑战。
模型压缩可以删除模型中的冗... | AI-System/Textbook/第11章-模型压缩与加速/11-前言.md/0 | {
"file_path": "AI-System/Textbook/第11章-模型压缩与加速/11-前言.md",
"repo_id": "AI-System",
"token_count": 1268
} | 11 |
<!--Copyright © Microsoft Corporation. All rights reserved.
适用于[License](https://github.com/microsoft/AI-System/blob/main/LICENSE)版权许可-->
# 1.4 深度学习样例背后的系统问题
算法工程师通过 Python 和深度学习框架书写人工智能程序,而人工智能程序底层的系统问题被当前高层的抽象隐藏,到底在每个代码片段底层执行发生了什么?有哪些有意思的系统设计问题?我们将从一个实例启发读者,并和后面各个章节构建起桥梁与联系。
- [1.4 深度学习样例背后的系统问题](#14-深度学习样例背后的系统... | AI-System/Textbook/第1章-人工智能系统概述/1.4-深度学习样例背后的系统问题.md/0 | {
"file_path": "AI-System/Textbook/第1章-人工智能系统概述/1.4-深度学习样例背后的系统问题.md",
"repo_id": "AI-System",
"token_count": 22614
} | 12 |
# MLAKSDeploy Pipeline
trigger:
batch: true
branches:
include:
- master
paths:
include:
- submodules/DeployMLModelKubernetes/*
pr:
branches:
include:
- master
paths:
include:
- submodules/DeployMLModelKubernetes/*
schedules:
- cron: "0 * * * *"
displayName: Daily mi... | AI/.ci/python-ml-realtimeserving.yml/0 | {
"file_path": "AI/.ci/python-ml-realtimeserving.yml",
"repo_id": "AI",
"token_count": 859
} | 13 |
# Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
str... | AI/.ci/stage/publish_ado_pypi.yml/0 | {
"file_path": "AI/.ci/stage/publish_ado_pypi.yml",
"repo_id": "AI",
"token_count": 271
} | 14 |
parameters:
azureSubscription: ''
azure_subscription: ''
location: submodules/DeployMLModelPipelines
azureresourcegroup: dcibhpdl
workspacename: dcibhpwsdl
azureregion: westus2
aksimagename: dcibhpaksdl
aks_name: dcibhpaksdl
aks_service_name: dcibhpaksdlapi
conda: amlmm
doCleanup: true
python_p... | AI/.ci/steps/MLBatchDeployAMLJob.yml/0 | {
"file_path": "AI/.ci/steps/MLBatchDeployAMLJob.yml",
"repo_id": "AI",
"token_count": 758
} | 15 |
parameters:
azureSubscription: 'AICAT-VB-E2E (989b90f7-da4f-41f9-84c9-44848802052d)'
azureresourcegroup: "-"
location : "eastus2"
alias : $(Build.RequestedForId)
project : "e2etestharness"
expires : "2019-08-01"
steps:
- task: AzureCLI@1
displayName: "Create Resource Group"
inputs:
azureSubscriptio... | AI/.ci/steps/createResourceGroupTemplate.yml/0 | {
"file_path": "AI/.ci/steps/createResourceGroupTemplate.yml",
"repo_id": "AI",
"token_count": 238
} | 16 |
parameters:
conda_env: # this param must be set
clean_conda: true
steps:
- script: |
conda env remove -n ${{parameters.conda_env}} -y
workingDirectory: tests
displayName: 'Conda remove'
continueOnError: true
condition: always() # this step will always run, even if the pipeline is canceled
enabled:... | AI/.ci/steps/reco_conda_clean_linux.yml/0 | {
"file_path": "AI/.ci/steps/reco_conda_clean_linux.yml",
"repo_id": "AI",
"token_count": 115
} | 17 |
variables:
TridentWorkloadTypeShort: airmlrts
DeployLocation: eastus
ProjectLocation: ""
PythonPath: .
Template: RMLAKSDeployAMLJob.yml
| AI/.ci/vars/rml_realtime_scoring.yml/0 | {
"file_path": "AI/.ci/vars/rml_realtime_scoring.yml",
"repo_id": "AI",
"token_count": 50
} | 18 |
gpu_no=8
# model type
model_type="dpr"
seq_length=256
triplet="--triplet --optimizer lamb" # set this to empty for non triplet model
# hyper parameters
batch_size=16
gradient_accumulation_steps=1
learning_rate=1e-5
warmup_steps=1000
# input/output directories
base_data_dir="../data/QA_NQ_data/"
job_name="ann_NQ_tes... | ANCE/commands/run_train_dpr.sh/0 | {
"file_path": "ANCE/commands/run_train_dpr.sh",
"repo_id": "ANCE",
"token_count": 438
} | 19 |
#from transformers.utils import logging
import torch
import torch.nn as nn
import torch.nn.functional as F
import math
from .modules import (
LayerNorm,
get_activation_fn,
MultiheadAttention,
)
from .modules import quant_noise as apply_quant_noise_
from .transformer_sentence_encoder import Transforme... | ANCE/model/SEED_Encoder/modeling_seed_encoder.py/0 | {
"file_path": "ANCE/model/SEED_Encoder/modeling_seed_encoder.py",
"repo_id": "ANCE",
"token_count": 3958
} | 20 |
"""
Code for self-training with weak supervision.
Author: Giannis Karamanolakis (gkaraman@cs.columbia.edu)
"""
import math
import random
import numpy as np
from numpy.random import seed
import tensorflow as tf
import tensorflow.keras as K
from tensorflow.keras.layers import Embedding, Input, Dropout, Dense, Lambda
c... | ASTRA/astra/RuleAttentionNetwork.py/0 | {
"file_path": "ASTRA/astra/RuleAttentionNetwork.py",
"repo_id": "ASTRA",
"token_count": 8398
} | 21 |
#!/bin/bash
# NAACL 2021 Experiments
baselogdir="$(date +'%h%d_%H-%M')_NAACL_experiments"
# TREC
for seed in 0 20 7 1993 128 42; do
logdir="${baselogdir}/seed${seed}"
python ../astra/main.py --dataset trec --logdir ${logdir} --seed $seed --learning_rate 0.0001 --finetuning_rate 0.0001 --datapath ../data
done
# S... | ASTRA/scripts/run_experiments.sh/0 | {
"file_path": "ASTRA/scripts/run_experiments.sh",
"repo_id": "ASTRA",
"token_count": 477
} | 22 |
include LICENSE
| AdaMix/MANIFEST.in/0 | {
"file_path": "AdaMix/MANIFEST.in",
"repo_id": "AdaMix",
"token_count": 4
} | 23 |
#!/bin/bash
cd eval
echo "installing evaluation dependencies"
echo "downloading e2e-metrics..."
git clone https://github.com/tuetschek/e2e-metrics e2e
pip install -r e2e/requirements.txt
echo "downloading GenerationEval for webnlg and dart..."
git clone https://github.com/WebNLG/GenerationEval.git
cd GenerationEval
... | AdaMix/NLG/eval/download_evalscript.sh/0 | {
"file_path": "AdaMix/NLG/eval/download_evalscript.sh",
"repo_id": "AdaMix",
"token_count": 344
} | 24 |
. ./venv/bin/activate
seed=110
python -m torch.distributed.launch --nproc_per_node=1 src/gpt2_ft.py \
--train_data ./data/e2e/train.jsonl \
--valid_data ./data/e2e/valid.jsonl \
--train_batch_size 8 \
--grad_acc 1 \
--valid_batch_size 4 \
--seq_len 512 \
--model_card gpt2.md \
--init_checkpoint ./pretrained_checkpoin... | AdaMix/NLG/run_train_e2e_lora_only.sh/0 | {
"file_path": "AdaMix/NLG/run_train_e2e_lora_only.sh",
"repo_id": "AdaMix",
"token_count": 325
} | 25 |
# ------------------------------------------------------------------------------------------
# Copyright (c). All rights reserved.
# Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
# -----------------------------------------------------------------------------------------... | AdaMix/NLG/src/gpu.py/0 | {
"file_path": "AdaMix/NLG/src/gpu.py",
"repo_id": "AdaMix",
"token_count": 1965
} | 26 |
..
Copyright 2020 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ... | AdaMix/docs/source/main_classes/callback.rst/0 | {
"file_path": "AdaMix/docs/source/main_classes/callback.rst",
"repo_id": "AdaMix",
"token_count": 1077
} | 27 |
..
Copyright 2020 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ... | AdaMix/docs/source/model_doc/bert.rst/0 | {
"file_path": "AdaMix/docs/source/model_doc/bert.rst",
"repo_id": "AdaMix",
"token_count": 1784
} | 28 |
..
Copyright 2020 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ... | AdaMix/docs/source/model_doc/flaubert.rst/0 | {
"file_path": "AdaMix/docs/source/model_doc/flaubert.rst",
"repo_id": "AdaMix",
"token_count": 1279
} | 29 |
..
Copyright 2020 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ... | AdaMix/docs/source/model_doc/mt5.rst/0 | {
"file_path": "AdaMix/docs/source/model_doc/mt5.rst",
"repo_id": "AdaMix",
"token_count": 834
} | 30 |
..
Copyright 2020 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ... | AdaMix/docs/source/model_doc/xlmroberta.rst/0 | {
"file_path": "AdaMix/docs/source/model_doc/xlmroberta.rst",
"repo_id": "AdaMix",
"token_count": 1589
} | 31 |
..
Copyright 2020 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ... | AdaMix/docs/source/training.rst/0 | {
"file_path": "AdaMix/docs/source/training.rst",
"repo_id": "AdaMix",
"token_count": 4533
} | 32 |
#!/usr/bin/env python
# coding=utf-8
# Copyright 2018 Google AI, Google Brain and Carnegie Mellon University Authors and the HuggingFace Inc. team.
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in co... | AdaMix/examples/legacy/run_openai_gpt.py/0 | {
"file_path": "AdaMix/examples/legacy/run_openai_gpt.py",
"repo_id": "AdaMix",
"token_count": 6149
} | 33 |
# coding=utf-8
# Copyright 2020 The HuggingFace Team All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | AdaMix/examples/question-answering/trainer_qa.py/0 | {
"file_path": "AdaMix/examples/question-answering/trainer_qa.py",
"repo_id": "AdaMix",
"token_count": 1796
} | 34 |
# coding=utf-8
# Copyright 2019 The HuggingFace Inc. team.
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.a... | AdaMix/examples/research_projects/bertabs/configuration_bertabs.py/0 | {
"file_path": "AdaMix/examples/research_projects/bertabs/configuration_bertabs.py",
"repo_id": "AdaMix",
"token_count": 1345
} | 35 |
import torch
from torch import nn
from torch.nn import CrossEntropyLoss, MSELoss
from transformers.file_utils import add_start_docstrings, add_start_docstrings_to_model_forward
from transformers.models.bert.modeling_bert import (
BERT_INPUTS_DOCSTRING,
BERT_START_DOCSTRING,
BertEmbeddings,
BertLayer,
... | AdaMix/examples/research_projects/deebert/src/modeling_highway_bert.py/0 | {
"file_path": "AdaMix/examples/research_projects/deebert/src/modeling_highway_bert.py",
"repo_id": "AdaMix",
"token_count": 7794
} | 36 |
"""
coding=utf-8
Copyright 2018, Antonio Mendoza Hao Tan, Mohit Bansal
Adapted From Facebook Inc, Detectron2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/license... | AdaMix/examples/research_projects/lxmert/visualizing_image.py/0 | {
"file_path": "AdaMix/examples/research_projects/lxmert/visualizing_image.py",
"repo_id": "AdaMix",
"token_count": 8182
} | 37 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.