Skip to content

Instantly share code, notes, and snippets.

View david-andrew's full-sized avatar

David-Andrew Samson david-andrew

View GitHub Profile
@david-andrew
david-andrew / matches.json
Created November 22, 2022 19:11
World Modelers Ontology Concept Rankings
This file has been truncated, but you can view the full file.
{
"Node(name='wm', examples=())": {
"text": [
[
"name: TM.TAX.MRCH.WM.AR.ZS;\ndisplay name: Tariff rate, applied, weighted mean, all products (%);\ndescription: Weighted mean applied tariff is the average of effectively applied rates weighted by the product import shares corresponding to each partner country. Data are classified using the Harmonized System of trade at the six- or eight-digit level. Tariff line data were matched to Standard International Trade Classification (SITC) revision 3 codes to define commodity groups and import weights. To the extent possible, specific rates have been converted to their ad valorem equivalent rates and have been included in the calculation of weighted mean tariffs. Import weights were calculated using the United Nations Statistics Division's Commodity Trade (Comtrade) database. Effectively applied tariff rates at the six- and eight-digit product level are averaged for products in each commodity group. When the effectively applied
@david-andrew
david-andrew / gist:83f793bae32d32442ce4ac27040d5ad6
Last active November 17, 2022 22:54
Example results from tf-idf vs BERT vs GPT-3 (Babbage) search
Search: tariff
--------------------------------- text results: ---------------------------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
score: 324.95238095238096
name: TM.TAX.MRCH.IP.ZS;
display name: Share of tariff lines with international peaks, all products (%);
description: Share of tariff lines with international peaks is the share of lines in the tariff schedule with tariff rates that exceed 15 percent. It provides an indication of how selectively tariffs are applied.;
unit: %;
unit description: %;
<<<<<<<<<<<<<<<<<<<<<<<<<<<<